Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
zadam 2023-01-10 16:33:35 +01:00
commit 397dd68666
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);
}
}