Skip to content

Build your personal knowledge base with Trilium Notes

fix(command_palette): print command showing modal

Elian Doran1d1a0ac4fd26
diff --git a/apps/client/src/widgets/dialogs/jump_to_note.ts b/apps/client/src/widgets/dialogs/jump_to_note.ts
index 5139f55ab4..31222d87ac 100644
--- a/apps/client/src/widgets/dialogs/jump_to_note.ts
+++ b/apps/client/src/widgets/dialogs/jump_to_note.ts
@@ -143,8 +143,8 @@ export default class JumpToNoteDialog extends BasicWidget {
return false;
}
- await commandRegistry.executeCommand(suggestion.commandId);
this.modal.hide();
+ await commandRegistry.executeCommand(suggestion.commandId);
});
if (commandMode) {