()
| 191 | if (selectedPath === n.path) await selectNote(null) |
| 192 | } |
| 193 | const onMove = async (): Promise<void> => { |
| 194 | const target = await promptApp(buildMoveNotePrompt(n, folders)) |
| 195 | if (!target) return |
| 196 | const dest = parseMoveNoteTarget(target) |
| 197 | await moveNote(n.path, dest.folder, dest.subpath) |
| 198 | } |
| 199 | const onRestore = async (): Promise<void> => { |
| 200 | const meta = await window.zen.restoreFromTrash(n.path) |
| 201 | await refreshNotes() |
nothing calls this directly
no test coverage detected