eslint bump

This commit is contained in:
Eugene Pankov
2019-11-25 12:05:58 +01:00
parent 6a7ac612ee
commit d90f68c439
6 changed files with 15 additions and 30 deletions

View File

@@ -128,7 +128,9 @@ export class AppRootComponent {
})
this.hostApp.windowCloseRequest$.subscribe(async () => {
await this.app.closeAllTabs() && this.hostApp.closeWindow()
if (await this.app.closeAllTabs()) {
this.hostApp.closeWindow()
}
})
if (window['safeModeReason']) {

View File

@@ -85,7 +85,7 @@ export class AppService {
}
}
startTabStorage() {
startTabStorage () {
this.tabsChanged$.subscribe(() => {
this.tabRecovery.saveTabs(this.tabs)
})