mirror of
https://github.com/Eugeny/tabby.git
synced 2024-11-27 10:42:35 +03:00
don't remember tabs if recovery is disabled
This commit is contained in:
parent
7bcf3dbabe
commit
74f91b7cb3
@ -20,7 +20,7 @@ export class TabRecoveryService {
|
||||
}
|
||||
|
||||
async saveTabs (tabs: BaseTabComponent[]): Promise<void> {
|
||||
if (!this.enabled) {
|
||||
if (!this.enabled || !this.config.store.recoverTabs) {
|
||||
return
|
||||
}
|
||||
window.localStorage.tabsRecovery = JSON.stringify(
|
||||
|
Loading…
Reference in New Issue
Block a user