Skip to content

Build your personal knowledge base with Trilium Notes

fix(command_palette): command title not updated while navigating

Elian Doranc09e1248055b
diff --git a/apps/client/src/services/note_autocomplete.ts b/apps/client/src/services/note_autocomplete.ts
index 359b99309d..5b30494d49 100644
--- a/apps/client/src/services/note_autocomplete.ts
+++ b/apps/client/src/services/note_autocomplete.ts
@@ -90,6 +90,7 @@ async function autocompleteSource(term: string, cb: (rows: Suggestion[]) => void
action: "command",
commandId: cmd.id,
noteTitle: cmd.name,
+ notePathTitle: `>${cmd.name}`,
highlightedNotePathTitle: cmd.name,
commandDescription: cmd.description,
commandShortcut: cmd.shortcut,
@@ -105,6 +106,7 @@ async function autocompleteSource(term: string, cb: (rows: Suggestion[]) => void
action: "command",
commandId: cmd.id,
noteTitle: cmd.name,
+ notePathTitle: `>${cmd.name}`,
highlightedNotePathTitle: cmd.name,
commandDescription: cmd.description,
commandShortcut: cmd.shortcut,