This commit is contained in:
zadam 2023-01-09 23:15:02 +01:00
parent 87636f27ba
commit 4ab90b694f
2 changed files with 3 additions and 2 deletions

View File

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

View File

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