mirror of
https://github.com/zadam/trilium.git
synced 2025-02-24 15:05:31 +08:00
ignore missing image notes when downloading/replacing images, #2486
This commit is contained in:
parent
00f24bdb63
commit
257cc66f62
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue