mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	ignore missing image notes when downloading/replacing images, #2486
This commit is contained in:
		| @@ -360,7 +360,7 @@ function downloadImages(noteId, content) { | |||||||
|             // which upon the download of all the images will update the note if the links have not been fixed before |             // which upon the download of all the images will update the note if the links have not been fixed before | ||||||
|  |  | ||||||
|             sql.transactional(() => { |             sql.transactional(() => { | ||||||
|                 const imageNotes = becca.getNotes(Object.values(imageUrlToNoteIdMapping)); |                 const imageNotes = becca.getNotes(Object.values(imageUrlToNoteIdMapping), true); | ||||||
|  |  | ||||||
|                 const origNote = becca.getNote(noteId); |                 const origNote = becca.getNote(noteId); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user