mirror of
https://github.com/zadam/trilium.git
synced 2024-12-26 09:12:08 +08:00
fixed deleting notes
This commit is contained in:
parent
a8c576298b
commit
91245ab5b8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue