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) {