mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-25 02:51:59 +01:00
update folder service to use new crypto service methods
This commit is contained in:
parent
3452e39b9d
commit
7d8c4a430a
@ -173,7 +173,7 @@ export class FolderService implements InternalFolderServiceAbstraction {
|
||||
|
||||
this._folders.next(folders);
|
||||
|
||||
if (await this.cryptoService.hasKey()) {
|
||||
if (await this.cryptoService.hasUserKey()) {
|
||||
this._folderViews.next(await this.decryptFolders(folders));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user