mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 01:36:24 +01:00
fix delete shortcut in note tree and protect notes recursively
This commit is contained in:
@@ -193,7 +193,7 @@ async function protectNoteRecursively(note, protect, includingSubTree, taskConte
|
||||
|
||||
if (includingSubTree) {
|
||||
for (const child of await note.getChildNotes()) {
|
||||
await protectNoteRecursively(child, protect, taskContext);
|
||||
await protectNoteRecursively(child, protect, includingSubTree, taskContext);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user