Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(command_palette): hide on command execution
Elian Doran3247a9facc1e
diff --git a/apps/client/src/widgets/dialogs/jump_to_note.ts b/apps/client/src/widgets/dialogs/jump_to_note.tsindex 17a78902ab..74a87a5a4e 100644--- a/apps/client/src/widgets/dialogs/jump_to_note.ts+++ b/apps/client/src/widgets/dialogs/jump_to_note.ts@@ -106,12 +106,13 @@ export default class JumpToNoteDialog extends BasicWidget {appContext.tabManager.getActiveContext()?.setNote(suggestion.notePath);})- .on("autocomplete:commandselected", async function (event, suggestion, dataset) {+ .on("autocomplete:commandselected", async (event, suggestion, dataset) => {if (!suggestion.commandId) {return false;}await commandRegistry.executeCommand(suggestion.commandId);+ this.modal.hide();});// if you open the Jump To dialog soon after using it previously, it can often mean that you