mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
fixed deleting notes
This commit is contained in:
parent
a8c576298b
commit
91245ab5b8
@ -78,7 +78,7 @@ def deleteNote(note_id):
|
||||
children = getResults("select note_id from notes_tree where note_pid = ?", [note_id])
|
||||
|
||||
for child in children:
|
||||
delete(child['note_id'])
|
||||
deleteNote(child['note_id'])
|
||||
|
||||
delete("notes_tree", note_id)
|
||||
delete("notes", note_id)
|
||||
|
Loading…
x
Reference in New Issue
Block a user