fix: show autocomplete tag results only if query isn't empty

This commit is contained in:
Antonella Sgarlatta
2021-06-16 12:54:39 -03:00
parent 124f7779c3
commit 91fc475aac
2 changed files with 10 additions and 8 deletions

View File

@@ -98,7 +98,7 @@ export class NoteTagsState {
clearAutocompleteSearch(): void {
this.setAutocompleteSearchQuery('');
this.searchActiveNoteAutocompleteTags();
this.setAutocompleteTagResults([]);
}
async createAndAddNewTag(): Promise<void> {