diff --git a/tabby-core/src/services/tabRecovery.service.ts b/tabby-core/src/services/tabRecovery.service.ts index 622f1452..4dd12ea9 100644 --- a/tabby-core/src/services/tabRecovery.service.ts +++ b/tabby-core/src/services/tabRecovery.service.ts @@ -20,7 +20,7 @@ export class TabRecoveryService { } async saveTabs (tabs: BaseTabComponent[]): Promise { - if (!this.enabled) { + if (!this.enabled || !this.config.store.recoverTabs) { return } window.localStorage.tabsRecovery = JSON.stringify(