mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 14:19:14 +08:00
style(jump_to_note): remove dead case to improve readability
This commit is contained in:
parent
2cb2f4ecc0
commit
7b7975b821
1 changed files with 0 additions and 4 deletions
|
|
@ -51,10 +51,6 @@ export default function JumpToNoteDialogComponent() {
|
|||
}
|
||||
break;
|
||||
|
||||
// Mode.RecentNotes intentionally falls through to default:
|
||||
// both represent the "normal open" behavior, where we decide between
|
||||
// showing recent notes or restoring the last search depending on timing.
|
||||
case Mode.RecentNotes:
|
||||
default:
|
||||
if (Date.now() - lastOpenedTs <= KEEP_LAST_SEARCH_FOR_X_SECONDS * 1000 && actualText.current) {
|
||||
newMode = Mode.LastSearch;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue