File tree 1 file changed +2
-6
lines changed
libs/common/src/vault/services
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -124,12 +124,8 @@ export class CipherService implements CipherServiceAbstraction {
124
124
* decryption is in progress. The latest decrypted ciphers will be emitted once decryption is complete.
125
125
*/
126
126
cipherViews$ = perUserCache$ ( ( userId : UserId ) : Observable < CipherView [ ] | null > => {
127
- return combineLatest ( [
128
- this . encryptedCiphersState ( userId ) . state$ ,
129
- this . localData$ ( userId ) ,
130
- this . keyService . cipherDecryptionKeys$ ( userId , true ) ,
131
- ] ) . pipe (
132
- filter ( ( [ ciphers , keys ] ) => ciphers != null && keys != null ) , // Skip if ciphers haven't been loaded yor synced yet
127
+ return combineLatest ( [ this . encryptedCiphersState ( userId ) . state$ , this . localData$ ( userId ) ] ) . pipe (
128
+ filter ( ( [ ciphers ] ) => ciphers != null ) , // Skip if ciphers haven't been loaded yor synced yet
133
129
switchMap ( ( ) => this . getAllDecrypted ( userId ) ) ,
134
130
) ;
135
131
} , this . clearCipherViewsForUser$ ) ;
You can’t perform that action at this time.
0 commit comments