mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 13:39:01 +01:00 
			
		
		
		
	ignore missing image notes when downloading/replacing images, #2486
This commit is contained in:
		
							parent
							
								
									00f24bdb63
								
							
						
					
					
						commit
						257cc66f62
					
				@ -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
 | 
			
		||||
 | 
			
		||||
            sql.transactional(() => {
 | 
			
		||||
                const imageNotes = becca.getNotes(Object.values(imageUrlToNoteIdMapping));
 | 
			
		||||
                const imageNotes = becca.getNotes(Object.values(imageUrlToNoteIdMapping), true);
 | 
			
		||||
 | 
			
		||||
                const origNote = becca.getNote(noteId);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user