mirror of
https://github.com/bitwarden/browser
synced 2026-02-11 05:53:42 +00:00
Updated references to use decrypt with feature flag
This commit is contained in:
@@ -50,8 +50,9 @@ export class CollectionsComponent implements OnInit {
|
||||
const activeUserId = await firstValueFrom(this.accountService.activeAccount$.pipe(getUserId));
|
||||
this.cipherDomain = await this.loadCipher(activeUserId);
|
||||
this.collectionIds = this.loadCipherCollections();
|
||||
this.cipher = await this.cipherDomain.decrypt(
|
||||
await this.cipherService.getKeyForCipherKeyDecryption(this.cipherDomain, activeUserId),
|
||||
this.cipher = await this.cipherService.decryptCipherWithSdkOrLegacy(
|
||||
this.cipherDomain,
|
||||
activeUserId,
|
||||
);
|
||||
this.collections = await this.loadCollections();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user