mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-17 05:13:32 +00:00
refactor: show countdown if less than 10 min from start
This commit is contained in:
committed by
Carlos Valente
parent
9f2db10548
commit
50599eccd2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user