Update jslib (#1895)
* Update jslib * Update jslib * Revert `isDesktopClient`
This commit is contained in:
parent
2c2746d848
commit
2ba9d6e6d0
|
@ -19,6 +19,10 @@ export default class BrowserStorageService implements StorageService {
|
|||
});
|
||||
}
|
||||
|
||||
async has(key: string): Promise<boolean> {
|
||||
return this.get(key) != null;
|
||||
}
|
||||
|
||||
async save(key: string, obj: any): Promise<any> {
|
||||
if (obj == null) {
|
||||
// Fix safari not liking null in set
|
||||
|
|
Loading…
Reference in New Issue