mirror of
https://github.com/bitwarden/jslib
synced 2025-12-13 23:03:33 +00:00
Insert missing await (#449)
This commit is contained in:
@@ -53,12 +53,12 @@ export class CiphersComponent {
|
||||
clearTimeout(this.searchTimeout);
|
||||
}
|
||||
if (timeout == null) {
|
||||
this.doSearch(indexedCiphers);
|
||||
await this.doSearch(indexedCiphers);
|
||||
return;
|
||||
}
|
||||
this.searchPending = true;
|
||||
this.searchTimeout = setTimeout(async () => {
|
||||
this.doSearch(indexedCiphers);
|
||||
await this.doSearch(indexedCiphers);
|
||||
this.searchPending = false;
|
||||
}, timeout);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user