mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 18:05:55 +01:00
fix manual erasing note revisions
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user