mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fix
This commit is contained in:
parent
87636f27ba
commit
4ab90b694f
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user