mirror of
https://github.com/zen-browser/components.git
synced 2025-07-08 04:29:58 +02:00
Refactor ZenPinnedTabManager and ZenPinnedTabsStorage initialization
This commit is contained in:
parent
9d41110b8b
commit
2adc19bc21
2 changed files with 6 additions and 3 deletions
|
@ -1,7 +1,11 @@
|
|||
var ZenPinnedTabsStorage = {
|
||||
async init() {
|
||||
console.log('ZenPinnedTabsStorage: Initializing...');
|
||||
await this._ensureTable();
|
||||
try {
|
||||
await this._ensureTable();
|
||||
} catch (e) {
|
||||
console.warn('ZenPinnedTabsStorage: Failed to initialize', e);
|
||||
}
|
||||
},
|
||||
|
||||
async _ensureTable() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue