Korrekturen bei KO Spiele
This commit is contained in:
@@ -17,7 +17,11 @@ function fmtTime(iso: string): string {
|
||||
|
||||
function scoreDisplay(m: Match): string {
|
||||
if (m.status === "SCHEDULED" || (m.homeScore == null && m.awayScore == null)) return "– : –";
|
||||
return `${m.homeScore ?? 0} : ${m.awayScore ?? 0}`;
|
||||
const base = `${m.homeScore ?? 0} : ${m.awayScore ?? 0}`;
|
||||
if (m.homePenalty != null && m.awayPenalty != null) {
|
||||
return `${base} (${m.homePenalty}:${m.awayPenalty} i.E.)`;
|
||||
}
|
||||
return base;
|
||||
}
|
||||
|
||||
function statusLabel(m: Match): string {
|
||||
|
||||
Reference in New Issue
Block a user