mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 13:23:34 +00:00
Fix Vault Loading (#13484)
This commit is contained in:
@@ -94,8 +94,12 @@ export class VaultPopupItemsService {
|
|||||||
runInsideAngular(this.ngZone),
|
runInsideAngular(this.ngZone),
|
||||||
tap(() => this._ciphersLoading$.next()),
|
tap(() => this._ciphersLoading$.next()),
|
||||||
waitUntilSync(this.syncService),
|
waitUntilSync(this.syncService),
|
||||||
switchMap(() => Utils.asyncToObservable(() => this.cipherService.getAllDecrypted(userId))),
|
switchMap(() =>
|
||||||
withLatestFrom(this.cipherService.failedToDecryptCiphers$(userId)),
|
combineLatest([
|
||||||
|
Utils.asyncToObservable(() => this.cipherService.getAllDecrypted(userId)),
|
||||||
|
this.cipherService.failedToDecryptCiphers$(userId),
|
||||||
|
]),
|
||||||
|
),
|
||||||
map(([ciphers, failedToDecryptCiphers]) => [...failedToDecryptCiphers, ...ciphers]),
|
map(([ciphers, failedToDecryptCiphers]) => [...failedToDecryptCiphers, ...ciphers]),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user