mirror of
https://github.com/bitwarden/browser
synced 2024-12-27 10:23:48 +01:00
[PM-7059] Use decryptedCollections$ observable instead of async getAllDecrypted call (#8488)
This commit is contained in:
parent
69530241d1
commit
1e75f24671
@ -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)),
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user