mirror of
https://github.com/bitwarden/jslib
synced 2025-12-22 11:13:17 +00:00
searchCiphersBasic
This commit is contained in:
@@ -67,10 +67,12 @@ export class CipherService implements CipherServiceAbstraction {
|
||||
}
|
||||
set decryptedCipherCache(value: CipherView[]) {
|
||||
this._decryptedCipherCache = value;
|
||||
if (value == null) {
|
||||
this.searchService().clearIndex();
|
||||
} else {
|
||||
this.searchService().indexCiphers();
|
||||
if (this.searchService != null) {
|
||||
if (value == null) {
|
||||
this.searchService().clearIndex();
|
||||
} else {
|
||||
this.searchService().indexCiphers();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user