From c736a8483568b2fabdfcfbd547423d76c95e392b Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Wed, 9 Feb 2022 20:21:20 +0100 Subject: [PATCH] avoid duplicate title in split tab's title --- tabby-core/src/components/splitTab.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabby-core/src/components/splitTab.component.ts b/tabby-core/src/components/splitTab.component.ts index d3b3350f..1c4e43fa 100644 --- a/tabby-core/src/components/splitTab.component.ts +++ b/tabby-core/src/components/splitTab.component.ts @@ -635,7 +635,7 @@ export class SplitTabComponent extends BaseTabComponent implements AfterViewInit } private updateTitle (): void { - this.setTitle(this.getAllTabs().map(x => x.title).join(' | ')) + this.setTitle([...new Set(this.getAllTabs().map(x => x.title))].join(' | ')) } private attachTabView (tab: BaseTabComponent) { -- GitLab