This commit is contained in:
Bastian Wagner
2026-06-19 17:35:21 +02:00
parent 29821c4caf
commit 8c8492ad00

View File

@@ -95,6 +95,10 @@ export class RunningKpiDashboardComponent implements OnInit, OnDestroy {
return value === null || value === undefined ? '-' : value.toFixed(2); return value === null || value === undefined ? '-' : value.toFixed(2);
} }
protected formatRaceTime(value: number | null | undefined): string {
return value === null || value === undefined ? '-' : duration(value);
}
protected recoveryLabel(status: RunningKpiDashboard['recovery']['status']): string { protected recoveryLabel(status: RunningKpiDashboard['recovery']['status']): string {
switch (status) { switch (status) {
case 'green': case 'green':