refactor: recover day after indicator

This commit is contained in:
Carlos Valente
2024-05-17 22:38:31 +02:00
committed by Carlos Valente
parent 4069038ed5
commit eb2c4d0780
5 changed files with 22 additions and 18 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ export function updateRundownData(rundownData: RundownData) {
runtimeState.runtime.numEvents = rundownData.numEvents;
runtimeState.runtime.plannedStart = rundownData.firstStart;
runtimeState.runtime.plannedEnd = rundownData.lastEnd;
runtimeState.runtime.plannedEnd = rundownData.firstStart + rundownData.totalDuration;
runtimeState.runtime.expectedEnd = getExpectedEnd(runtimeState);
}