Skip to content

Commit

Permalink
Fix Vault Loading (#13484)
Browse files Browse the repository at this point in the history
  • Loading branch information
justindbaur authored Feb 22, 2025
1 parent b4bfacf commit f1af23d
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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]),
),
),
Expand Down

0 comments on commit f1af23d

Please sign in to comment.