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