fix missing branch in case of out-of-order clones, closes #2464

This commit is contained in:
zadam 2021-12-26 23:31:54 +01:00
parent ad8d35efe9
commit f56123b864

View file

@ -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({