mirror of
https://github.com/zadam/trilium.git
synced 2025-01-15 03:27:44 +08:00
fix ZIP import without metadata
This commit is contained in:
parent
f249d6cb26
commit
b906efb23b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue