feat: Add Team info Sidebar
Some checks failed
SteamWarCI Build failed

This commit is contained in:
2025-12-20 18:36:33 +01:00
parent ff59ac3747
commit f13305d116
19 changed files with 400 additions and 239 deletions

View File

@@ -52,7 +52,7 @@
{#each Object.entries(group.points ?? {}).sort((v1, v2) => v2[1] - v1[1]) as points}
{@const [teamId, point] = points}
{@const team = event.teams.find((t) => t.id.toString() === teamId)!!}
<EventTeamChip {team} score={point.toString()} />
<EventTeamChip {team} {event} score={point.toString()} />
{/each}
</EventCardOutline>
</EventCard>
@@ -61,7 +61,7 @@
<div>
<EventCard title="Runde {index + 1}">
{#each round as fight}
<EventFightChip {fight} {group} />
<EventFightChip {event} {fight} {group} />
{/each}
</EventCard>
</div>