mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
Update jslib (#1895)
* Update jslib * Update jslib * Revert `isDesktopClient`
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: fdc6f7b1d2...1f83c3c1ba
@@ -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> {
|
async save(key: string, obj: any): Promise<any> {
|
||||||
if (obj == null) {
|
if (obj == null) {
|
||||||
// Fix safari not liking null in set
|
// Fix safari not liking null in set
|
||||||
|
|||||||
Reference in New Issue
Block a user