1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-21 11:35:34 +01:00

[PM-7059] Use decryptedCollections$ observable instead of async getAllDecrypted call (#8488)

This commit is contained in:
Shane Melton 2024-03-26 10:29:50 -07:00 committed by GitHub
parent 69530241d1
commit 1e75f24671
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -246,7 +246,7 @@ export class VaultComponent implements OnInit, OnDestroy {
});
const filter$ = this.routedVaultFilterService.filter$;
const allCollections$ = Utils.asyncToObservable(() => this.collectionService.getAllDecrypted());
const allCollections$ = this.collectionService.decryptedCollections$;
const nestedCollections$ = allCollections$.pipe(
map((collections) => getNestedCollectionTree(collections)),
);