fix(note_tree): not reacting to changes in subtreeHidden

This commit is contained in:
Elian Doran 2026-01-10 10:14:15 +02:00
parent af537e6a48
commit 5cabc6379d
No known key found for this signature in database

View File

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