mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	fix image being redownloaded from localhost
This commit is contained in:
		| @@ -51,7 +51,7 @@ const TPL = ` | ||||
|         position: absolute; | ||||
|         top: 10px; | ||||
|         right: 20px; | ||||
|         z-index: 1000; | ||||
|         z-index: 100; | ||||
|     } | ||||
|      | ||||
|     .tree-settings-popup { | ||||
| @@ -514,6 +514,15 @@ export default class NoteTreeWidget extends TabAwareWidget { | ||||
|             return; | ||||
|         } | ||||
|  | ||||
|         if (parentNote.title === 'Siemens M55') { | ||||
|             console.log("this.hideIncludedImages", this.hideIncludedImages); | ||||
|             console.log("this.hideIncludedImages", this.hideIncludedImages); | ||||
|             console.log("parentNote.getRelations('imageLink')", parentNote.getRelations('imageLink')); | ||||
|             console.log("parentNote.getRelations('imageLink')", parentNote.getRelations('imageLink')); | ||||
|             const imageLinks = parentNote.getRelations('imageLink'); | ||||
|             console.log("childBranches.filter(branch => !imageLinks.find(rel => rel.value === branch.noteId))", childBranches.filter(branch => !imageLinks.find(rel => rel.value === branch.noteId))); | ||||
|         } | ||||
|  | ||||
|         if (this.hideIncludedImages) { | ||||
|             const imageLinks = parentNote.getRelations('imageLink'); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user