fix: reload tag results after adding tag
This commit is contained in:
@@ -65,6 +65,7 @@ export const AutocompleteTagInput: FunctionalComponent<Props> = ({
|
|||||||
setLockCloseOnBlur(true);
|
setLockCloseOnBlur(true);
|
||||||
await appState.notes.addTagToActiveNote(tag);
|
await appState.notes.addTagToActiveNote(tag);
|
||||||
inputRef.current.focus();
|
inputRef.current.focus();
|
||||||
|
setTagResults(getActiveNoteTagResults(searchQuery));
|
||||||
setLockCloseOnBlur(false);
|
setLockCloseOnBlur(false);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user