mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
allow deleting notes including all the clones, closes #629
This commit is contained in:
@@ -77,7 +77,7 @@ async function deleteNote(req) {
|
||||
const note = await repository.getNote(noteId);
|
||||
|
||||
for (const branch of await note.getBranches()) {
|
||||
await noteService.deleteNote(branch);
|
||||
await noteService.deleteBranch(branch);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user