1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

Update jslib (#1895)

* Update jslib

* Update jslib

* Revert `isDesktopClient`
This commit is contained in:
Matt Gibson
2021-06-15 13:40:49 -05:00
committed by GitHub
parent 81a6cc092e
commit a54ce615c8
2 changed files with 5 additions and 1 deletions

2
jslib

Submodule jslib updated: fdc6f7b1d2...1f83c3c1ba

View File

@@ -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