diff --git a/apps/client/src/widgets/dialogs/jump_to_note.tsx b/apps/client/src/widgets/dialogs/jump_to_note.tsx index 8fbab32a8..15a9785af 100644 --- a/apps/client/src/widgets/dialogs/jump_to_note.tsx +++ b/apps/client/src/widgets/dialogs/jump_to_note.tsx @@ -93,12 +93,12 @@ export default function JumpToNoteDialogComponent() { function onShown() { const $autoComplete = refToJQuerySelector(autocompleteRef); switch (mode) { - case "last-search": + case Mode.LastSearch: break; - case "recent-notes": + case Mode.RecentNotes: note_autocomplete.showRecentNotes($autoComplete); break; - case "commands": + case Mode.Commands: note_autocomplete.showAllCommands($autoComplete); break; }