Skip to content

Build your personal knowledge base with Trilium Notes

fix hidden subtree appearing after collapse, #2922

zadam17085e5578d2
diff --git a/src/public/app/widgets/note_tree.js b/src/public/app/widgets/note_tree.js
index 509e2dd104..06f545515e 100644
--- a/src/public/app/widgets/note_tree.js
+++ b/src/public/app/widgets/note_tree.js
@@ -832,6 +832,8 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
}
});
+ await this.filterHoistedBranch();
+
const activeNode = await this.getNodeFromPath(appContext.tabManager.getActiveContextNotePath());
if (activeNode) {
@@ -1079,6 +1081,8 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
}
}
}, false);
+
+ this.filterHoistedBranch();
}, 600 * 1000);
}