From 69e4dd7fe59ed42875d8a89860883adc04639680 Mon Sep 17 00:00:00 2001 From: Jeffrey Holland Date: Wed, 13 Aug 2025 16:37:05 +0200 Subject: [PATCH] Force new ciphers instead of using observable --- .../src/vault/services/cipher.service.ts | 20 +++++++------------ 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/libs/common/src/vault/services/cipher.service.ts b/libs/common/src/vault/services/cipher.service.ts index ba986dcc763..90e90004e48 100644 --- a/libs/common/src/vault/services/cipher.service.ts +++ b/libs/common/src/vault/services/cipher.service.ts @@ -604,19 +604,13 @@ export class CipherService implements CipherServiceAbstraction { includeOtherTypes?: CipherType[], defaultMatch: UriMatchStrategySetting = null, ): Promise { - return await firstValueFrom( - this.cipherViews$(userId).pipe( - filter((c) => c != null), - switchMap( - async (ciphers) => - await this.filterCiphersForUrl( - ciphers, - url, - includeOtherTypes, - defaultMatch, - ), - ), - ), + const ciphers = await this.getAllDecrypted(userId); + + return await this.filterCiphersForUrl( + ciphers, + url, + includeOtherTypes, + defaultMatch, ); }