From f72db62e0895860924f5c288c645fda2a6797845 Mon Sep 17 00:00:00 2001 From: arc-alex Date: Thu, 10 Apr 2025 20:52:09 +0200 Subject: [PATCH] add comment --- apps/client/src/features/rundown/Rundown.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/client/src/features/rundown/Rundown.tsx b/apps/client/src/features/rundown/Rundown.tsx index 9eddbbac8..0d3cfc49f 100644 --- a/apps/client/src/features/rundown/Rundown.tsx +++ b/apps/client/src/features/rundown/Rundown.tsx @@ -300,6 +300,7 @@ export default function Rundown({ data }: RundownProps) { isNextDay = checkIsNextDay(entry, lastEvent); if (!isPast) { totalGap += entry.gap; + // We also include countToEnd in this test as the behavior of a linked event coming after a countToEnd is simelar to an unlinked event isLinkedToLoaded = isLinkedToLoaded && entry.linkStart !== null && !lastEvent?.countToEnd; } if (isNewLatest(entry, lastEvent)) {