mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 04:42:28 +08:00
fix(jump_to_note): fix enum typescript error in switch statement
This commit is contained in:
parent
9b6f094ce7
commit
911adbbdb7
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue