mirror of
https://github.com/zadam/trilium.git
synced 2025-11-18 11:10:41 +01:00
fix import of ZIP with images with no meta file, closes #3649
This commit is contained in:
@@ -231,12 +231,6 @@ async function importZip(taskContext, fileBuffer, importRootNote) {
|
||||
|
||||
const {noteMeta} = getMeta(absUrl);
|
||||
|
||||
if (!noteMeta) {
|
||||
log.info(`Could not find note meta for URL '${absUrl}'.`);
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
const targetNoteId = getNoteId(noteMeta, absUrl);
|
||||
return targetNoteId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user