From 5cabc6379d32ee050f46ed77a5f549c4977890ab Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 10 Jan 2026 10:14:15 +0200 Subject: [PATCH] fix(note_tree): not reacting to changes in subtreeHidden --- apps/client/src/widgets/note_tree.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/widgets/note_tree.ts b/apps/client/src/widgets/note_tree.ts index f1ca96569..d541e6deb 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) {