mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 15:55:52 +01:00
various becca migration fixes
This commit is contained in:
@@ -187,7 +187,7 @@ class Froca {
|
||||
}
|
||||
|
||||
const branches = [...note.getBranches(), ...note.getChildBranches()];
|
||||
|
||||
console.log("searchResultNoteIds", searchResultNoteIds);
|
||||
searchResultNoteIds.forEach((resultNoteId, index) => branches.push({
|
||||
// branchId should be repeatable since sometimes we reload some notes without rerendering the tree
|
||||
branchId: "virt-" + note.noteId + '-' + resultNoteId,
|
||||
@@ -197,6 +197,8 @@ class Froca {
|
||||
fromSearchNote: true
|
||||
}));
|
||||
|
||||
console.log("branches", branches);
|
||||
|
||||
// update this note with standard (parent) branches + virtual (children) branches
|
||||
this.addResp({
|
||||
notes: [note],
|
||||
|
||||
Reference in New Issue
Block a user