mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 17:53:39 +00:00
settings and lock options
This commit is contained in:
@@ -7,7 +7,7 @@ const store = new Store();
|
||||
export class DesktopStorageService implements StorageService {
|
||||
get<T>(key: string): Promise<T> {
|
||||
const val = store.get(key) as T;
|
||||
return Promise.resolve(val ? val : null);
|
||||
return Promise.resolve(val != null ? val : null);
|
||||
}
|
||||
|
||||
save(key: string, obj: any): Promise<any> {
|
||||
|
||||
Reference in New Issue
Block a user