[ui] only request options when selector focused

feat/vaults
Tomáš Mládek 2022-02-06 14:44:07 +01:00
parent a92d30a521
commit 3b423a2c59
No known key found for this signature in database
GPG Key ID: ED21612889E75EC5
1 changed files with 4 additions and 2 deletions

View File

@ -130,8 +130,10 @@
}
}, 200);
$: {
updateOptions(inputValue);
addressToLabels = {};
if (inputFocused) {
updateOptions(inputValue);
addressToLabels = {};
}
}
let addressToLabels: { [key: string]: string[] } = {};