fix delete shortcut in note tree and protect notes recursively

This commit is contained in:
zadam
2020-03-15 22:09:48 +01:00
parent 3a4d32f163
commit 40247a591e
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
}
}
}