mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	fix
This commit is contained in:
		| @@ -454,7 +454,7 @@ class FNote { | |||||||
|         let childBranches = this.getChildBranches(); |         let childBranches = this.getChildBranches(); | ||||||
|  |  | ||||||
|         if (!childBranches) { |         if (!childBranches) { | ||||||
|             ws.logError(`No children for ${parentNote}. This shouldn't happen.`); |             ws.logError(`No children for '${this.noteId}'. This shouldn't happen.`); | ||||||
|             return; |             return; | ||||||
|         } |         } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1126,7 +1126,8 @@ export default class NoteTreeWidget extends NoteContextAwareWidget { | |||||||
|  |  | ||||||
|                 if (note && note.getChildNoteIds().includes(ecAttr.value)) { |                 if (note && note.getChildNoteIds().includes(ecAttr.value)) { | ||||||
|                     // there's new/deleted imageLink betwen note and its image child - which can show/hide |                     // 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); |                     noteIdsToReload.add(ecAttr.noteId); | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user