new raceday and backup
This commit is contained in:
@@ -423,9 +423,9 @@ export function tickClockHelper({ dom, currentLanguage, handleSessionTimerTick,
|
||||
dom.clock.textContent = new Date().toLocaleString(currentLanguage() === "sv" ? "sv-SE" : "en-US");
|
||||
const timerState = handleSessionTimerTick();
|
||||
const active = getActiveSession();
|
||||
if (getCurrentView() === "timing" && active) {
|
||||
if (["timing", "race_day"].includes(getCurrentView()) && active) {
|
||||
if (timerState.changed) renderView();
|
||||
else if (active.status === "running") refreshTimingDynamics();
|
||||
else if (["running", "paused"].includes(active.status)) refreshTimingDynamics();
|
||||
}
|
||||
if (getCurrentView() === "dashboard" && timerState.changed) renderView();
|
||||
if (getOverlayMode() && getCurrentView() === "overlay" && active && timerState.changed) renderView();
|
||||
|
||||
Reference in New Issue
Block a user