mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
improvements in frontend sync (WIP)
This commit is contained in:
@@ -1031,9 +1031,10 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
|
||||
if (!found) {
|
||||
// make sure it's loaded
|
||||
await froca.getNote(branch.noteId);
|
||||
const frocaBranch = froca.getBranch(branch.branchId);
|
||||
|
||||
// we're forcing lazy since it's not clear if the whole required subtree is in froca
|
||||
parentNode.addChildren([this.prepareNode(branch, true)]);
|
||||
// we're forcing lazy since it's not clear if the whole required subtree is in froca
|
||||
parentNode.addChildren([this.prepareNode(frocaBranch, true)]);
|
||||
|
||||
this.sortChildren(parentNode);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user