Revert "Timeuntil in UI (#1461)"

This reverts commit 221ff7b3af.
This commit is contained in:
Carlos Valente
2025-02-12 22:14:10 +01:00
committed by Carlos Valente
parent 649f0af2cf
commit 8ac5c0a9a2
9 changed files with 1 additions and 145 deletions
@@ -269,7 +269,6 @@ export default function Rundown({ data }: RundownProps) {
// all events before the current selected are in the past
let isPast = Boolean(featureData?.selectedEventId);
let isNextDay = false;
let totalGap = 0;
const isEditMode = appMode === AppMode.Edit;
return (
@@ -298,7 +297,6 @@ export default function Rundown({ data }: RundownProps) {
if (isPlayableEvent(entry)) {
isNextDay = checkIsNextDay(entry, lastEvent);
totalGap += !isPast ? entry.gap : 0;
if (isNewLatest(entry, lastEvent)) {
// populate previous entry
thisEvent = entry;
@@ -333,7 +331,6 @@ export default function Rundown({ data }: RundownProps) {
playback={isLoaded ? featureData.playback : undefined}
isRolling={featureData.playback === Playback.Roll}
isNextDay={isNextDay}
totalGap={totalGap}
/>
</div>
</div>