Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(note_tree): not reacting to changes in subtreeHidden
Elian Doran5cabc6379d32
diff --git a/apps/client/src/widgets/note_tree.ts b/apps/client/src/widgets/note_tree.tsindex f1ca96569a..d541e6deb9 100644--- a/apps/client/src/widgets/note_tree.ts+++ b/apps/client/src/widgets/note_tree.ts@@ -1271,7 +1271,7 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {} else {refreshCtx.noteIdsToUpdate.add(attrRow.noteId);}- } else if (attrRow.type === "label" && attrRow.name === "archived" && attrRow.noteId) {+ } else if (attrRow.type === "label" && (attrRow.name === "archived" || attrRow.name === "subtreeHidden") && attrRow.noteId) {const note = froca.getNoteFromCache(attrRow.noteId);if (note) {