()
| 175 | await navigator.clipboard.writeText(`[[${n.title}]]`) |
| 176 | } |
| 177 | const onArchive = async (): Promise<void> => { |
| 178 | await window.zen.archiveNote(n.path) |
| 179 | await refreshNotes() |
| 180 | if (selectedPath === n.path) await selectNote(null) |
| 181 | } |
| 182 | const onUnarchive = async (): Promise<void> => { |
| 183 | const meta = await window.zen.unarchiveNote(n.path) |
| 184 | await refreshNotes() |
nothing calls this directly
no test coverage detected