mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 05:13:29 +00:00
[bug] Index search service when setting decrypted ciphers (#620)
With the move to a central StateService we erroniously cut out search indexing from the process of setting decrypted ciphers to memory. This commit calls the method responsible for setting decrypted ciphers and indexing when decrypting, instead of setting decrypted ciphers directly.
This commit is contained in:
@@ -355,7 +355,7 @@ export class CipherService implements CipherServiceAbstraction {
|
||||
|
||||
await Promise.all(promises);
|
||||
decCiphers.sort(this.getLocaleSortingFunction());
|
||||
await this.stateService.setDecryptedCiphers(decCiphers);
|
||||
await this.setDecryptedCipherCache(decCiphers);
|
||||
return decCiphers;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user