Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix
zadam4ab90b694fc0
diff --git a/src/public/app/entities/fnote.js b/src/public/app/entities/fnote.jsindex 4022c812f5..a3319b10dd 100644--- a/src/public/app/entities/fnote.js+++ b/src/public/app/entities/fnote.js@@ -454,7 +454,7 @@ class FNote {let childBranches = this.getChildBranches();if (!childBranches) {- ws.logError(`No children for ${parentNote}. This shouldn't happen.`);+ ws.logError(`No children for '${this.noteId}'. This shouldn't happen.`);return;}diff --git a/src/public/app/widgets/note_tree.js b/src/public/app/widgets/note_tree.jsindex 01f1ce23bf..72999f2d82 100644--- a/src/public/app/widgets/note_tree.js+++ b/src/public/app/widgets/note_tree.js@@ -1126,7 +1126,8 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {if (note && note.getChildNoteIds().includes(ecAttr.value)) {// there's new/deleted imageLink betwen note and its image child - which can show/hide- // the image (if there is a imageLink relation between parent and child then it is assumed to be "contained" in the note and thus does not have to be displayed in the tree)+ // the image (if there is a imageLink relation between parent and child+ // then it is assumed to be "contained" in the note and thus does not have to be displayed in the tree)noteIdsToReload.add(ecAttr.noteId);}}