Fix storage when IDB is unavailable
This commit is contained in:
parent
3d54192ce4
commit
d0e5c07557
@ -52,9 +52,9 @@ export default class AppStorage<Storage extends Record<string, any>/* Storage ex
|
||||
}
|
||||
|
||||
return this.cache[key] = value;
|
||||
} else {
|
||||
}/* else {
|
||||
throw 'something went wrong';
|
||||
}
|
||||
} */
|
||||
}
|
||||
|
||||
public async set(obj: Partial<Storage>, onlyLocal = false) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user