fix manual erasing note revisions

This commit is contained in:
zadam
2020-12-16 14:36:24 +01:00
parent 1b0bb22273
commit d0578971f7
7 changed files with 33 additions and 47 deletions

View File

@@ -114,6 +114,10 @@ function getTree(req) {
const collectedNoteIds = new Set([subTreeNoteId]);
function collect(parentNote) {
if (!parentNote) {
console.trace(parentNote);
}
for (const childNote of parentNote.children) {
collectedNoteIds.add(childNote.noteId);