Refactor ZenPinnedTabsStorage initialization and improve workspace handling

This commit is contained in:
mr. M
2024-12-19 20:43:07 +01:00
parent 78edbd3830
commit 29e7df3575
8 changed files with 99 additions and 78 deletions

View File

@@ -71,9 +71,6 @@
}
async _refreshPinnedTabs(currentWorkspace,{ init = false } = {}) {
if(init) {
await ZenPinnedTabsStorage.init();
}
await this._initializePinsCache();
await this._initializePinnedTabs(init,currentWorkspace);
}