diff --git a/src/services/import/zip.js b/src/services/import/zip.js index 7d68c2776..91a805222 100644 --- a/src/services/import/zip.js +++ b/src/services/import/zip.js @@ -365,6 +365,14 @@ async function importZip(taskContext, fileBuffer, importRootNote) { } note.setContent(content); + + new Branch({ + noteId, + parentNoteId, + isExpanded: noteMeta.isExpanded, + prefix: noteMeta.prefix, + notePosition: noteMeta.notePosition + }).save(); } else { ({note} = noteService.createNewNote({