mirror of
https://github.com/Eugeny/tabby
synced 2024-11-14 17:07:15 +00:00
avoid duplicate title in split tab's title
This commit is contained in:
parent
b3a07e5f99
commit
c736a84835
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue