Fix: timeUntil past coutToEnd events

This commit is contained in:
arc-alex
2025-04-08 09:30:34 +02:00
committed by Carlos Valente
parent 3ebb3451e4
commit 333f2623a5
+1 -1
View File
@@ -300,7 +300,7 @@ export default function Rundown({ data }: RundownProps) {
isNextDay = checkIsNextDay(entry, lastEvent);
if (!isPast) {
totalGap += entry.gap;
isLinkedToLoaded = isLinkedToLoaded && entry.linkStart !== null;
isLinkedToLoaded = isLinkedToLoaded && entry.linkStart !== null && !lastEvent?.countToEnd;
}
if (isNewLatest(entry, lastEvent)) {
// populate previous entry