Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
ignore missing image notes when downloading/replacing images, #2486
zadam257cc66f62fe
diff --git a/src/services/notes.js b/src/services/notes.jsindex eee18cb161..c3afa563fc 100644--- a/src/services/notes.js+++ b/src/services/notes.js@@ -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 beforesql.transactional(() => {- const imageNotes = becca.getNotes(Object.values(imageUrlToNoteIdMapping));+ const imageNotes = becca.getNotes(Object.values(imageUrlToNoteIdMapping), true);const origNote = becca.getNote(noteId);