KO Bracket fixed
This commit is contained in:
@@ -30,8 +30,8 @@ export async function GET() {
|
||||
}
|
||||
|
||||
try {
|
||||
const fifaMap = await fetchFifaScores();
|
||||
matches = applyFifaScores(matches, fifaMap);
|
||||
const fifaData = await fetchFifaScores();
|
||||
matches = applyFifaScores(matches, teams, fifaData);
|
||||
} catch (err) {
|
||||
console.warn("[fifa] Scores fehlgeschlagen:", err instanceof Error ? err.message : err);
|
||||
}
|
||||
|
||||
@@ -75,6 +75,11 @@ function Tie({
|
||||
</div>
|
||||
<Side s={tie.home} prob={tie.prob?.home} teams={teams} onShowTip={onShowTip} onHideTip={onHideTip} />
|
||||
<Side s={tie.away} prob={tie.prob?.away} teams={teams} onShowTip={onShowTip} onHideTip={onHideTip} />
|
||||
{tie.homePenalty != null && tie.awayPenalty != null && (
|
||||
<div className="tie-meta" style={{ padding: "2px 10px 4px", textAlign: "center" }}>
|
||||
({tie.homePenalty}:{tie.awayPenalty} i.E.)
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user