From 3ff5ba79f66f04887bd06960a203fca37228415e Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Fri, 17 Oct 2025 21:38:32 +0300 Subject: [PATCH] feat(collection/presentation): react to color changes --- apps/client/src/widgets/collections/presentation/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/client/src/widgets/collections/presentation/index.tsx b/apps/client/src/widgets/collections/presentation/index.tsx index 5fe8f94ff..b079522c6 100644 --- a/apps/client/src/widgets/collections/presentation/index.tsx +++ b/apps/client/src/widgets/collections/presentation/index.tsx @@ -25,7 +25,8 @@ export default function PresentationView({ note, noteIds }: ViewModeProps<{}>) { } useTriliumEvent("entitiesReloaded", ({ loadResults }) => { - if (loadResults.getNoteIds().find(noteId => noteIds.includes(noteId))) { + if (loadResults.getNoteIds().find(noteId => noteIds.includes(noteId)) || + loadResults.getAttributeRows().find(attr => attr.noteId && attr.name?.startsWith("slide:") && noteIds.includes(attr.noteId))) { refresh(); } });