macOS touchbar support

This commit is contained in:
Eugene Pankov
2018-03-24 23:19:47 +01:00
parent 8f2d2cbe30
commit 5e07dd5442
11 changed files with 99 additions and 15 deletions

View File

@@ -69,6 +69,7 @@ export class TabHeaderComponent {
let modal = this.ngbModal.open(RenameTabModalComponent)
modal.componentInstance.value = this.tab.customTitle || this.tab.title
modal.result.then(result => {
this.tab.setTitle(result)
this.tab.customTitle = result
}).catch(() => null)
}