From 9974ce24cdfb31eeff44e7f54cb9d6034f15de29 Mon Sep 17 00:00:00 2001 From: Shobhit Nagpal <74096450+Shobhit-Nagpal@users.noreply.github.com> Date: Tue, 18 Nov 2025 10:42:02 +0530 Subject: [PATCH] refactor(operator): hide groups where all events have passed (#1878) --- apps/client/src/features/operator/Operator.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apps/client/src/features/operator/Operator.tsx b/apps/client/src/features/operator/Operator.tsx index 112ef7451..21d952596 100644 --- a/apps/client/src/features/operator/Operator.tsx +++ b/apps/client/src/features/operator/Operator.tsx @@ -171,6 +171,14 @@ function Operator({ rundown, rundownMetadata, customFields, settings }: Operator } if (isOntimeGroup(entry)) { + const { isPast } = rundownMetadata[entry.id]; + + const isCurrentParent = selectedEventId ? rundownMetadata[selectedEventId].groupId === entry.id : false; + + if (hidePast && isPast && !isCurrentParent) { + return null; + } + return (