mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
fix missing branch in case of out-of-order clones, closes #2464
This commit is contained in:
parent
ad8d35efe9
commit
f56123b864
@ -365,6 +365,14 @@ async function importZip(taskContext, fileBuffer, importRootNote) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
note.setContent(content);
|
note.setContent(content);
|
||||||
|
|
||||||
|
new Branch({
|
||||||
|
noteId,
|
||||||
|
parentNoteId,
|
||||||
|
isExpanded: noteMeta.isExpanded,
|
||||||
|
prefix: noteMeta.prefix,
|
||||||
|
notePosition: noteMeta.notePosition
|
||||||
|
}).save();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
({note} = noteService.createNewNote({
|
({note} = noteService.createNewNote({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user