Settings editor - fix settings appearing in results right after clearing search input
This commit is contained in:
parent
7fa87ac326
commit
4807daecd9
1 changed files with 1 additions and 0 deletions
|
@ -266,6 +266,7 @@ export class PreferencesEditor extends BaseEditor {
|
|||
return this.remoteSearchThrottle.trigger(() => this.preferencesRenderers.remoteSearchPreferences(query));
|
||||
} else {
|
||||
// When clearing the input, update immediately to clear it
|
||||
this.remoteSearchThrottle.cancel();
|
||||
return this.preferencesRenderers.remoteSearchPreferences(query);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue