refactor: show countdown if less than 10 min from start

This commit is contained in:
Carlos Valente
2025-11-02 14:35:23 +01:00
committed by Carlos Valente
parent 9f2db10548
commit 50599eccd2
4 changed files with 86 additions and 59 deletions
@@ -82,7 +82,7 @@ export function getStatusLabel(timeToStart: number, status: ProgressStatus): str
return 'pending';
}
return formatDuration(timeToStart, timeToStart > MILLIS_PER_MINUTE * 2);
return formatDuration(timeToStart, timeToStart > MILLIS_PER_MINUTE * 10);
}
interface ScopedRundownData {