mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 09:58:32 +02:00
fix ZIP import without metadata
This commit is contained in:
parent
f249d6cb26
commit
b906efb23b
@ -192,7 +192,7 @@ async function importZip(taskContext, fileBuffer, importRootNote) {
|
||||
title: noteTitle,
|
||||
content: '',
|
||||
noteId: noteId,
|
||||
type: resolveNoteType(noteMeta.type),
|
||||
type: resolveNoteType(noteMeta?.type),
|
||||
mime: noteMeta ? noteMeta.mime : 'text/html',
|
||||
prefix: noteMeta ? noteMeta.prefix : '',
|
||||
isExpanded: noteMeta ? noteMeta.isExpanded : false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user