mirror of
https://github.com/bitwarden/browser
synced 2024-12-29 11:22:30 +01:00
Insert missing await (#449)
This commit is contained in:
parent
c694591e4c
commit
98098c3fb6
@ -53,12 +53,12 @@ export class CiphersComponent {
|
|||||||
clearTimeout(this.searchTimeout);
|
clearTimeout(this.searchTimeout);
|
||||||
}
|
}
|
||||||
if (timeout == null) {
|
if (timeout == null) {
|
||||||
this.doSearch(indexedCiphers);
|
await this.doSearch(indexedCiphers);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.searchPending = true;
|
this.searchPending = true;
|
||||||
this.searchTimeout = setTimeout(async () => {
|
this.searchTimeout = setTimeout(async () => {
|
||||||
this.doSearch(indexedCiphers);
|
await this.doSearch(indexedCiphers);
|
||||||
this.searchPending = false;
|
this.searchPending = false;
|
||||||
}, timeout);
|
}, timeout);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user