Fix Build

This commit is contained in:
2024-11-24 23:00:44 +01:00
parent 72933a46d1
commit 0ab7d204f2
2 changed files with 39 additions and 31 deletions

View File

@@ -44,6 +44,7 @@
<div>
<table>
<thead>
<tr class="font-bold border-b">
{#each Array(rows) as i (i)}
<td>{t("announcements.table.time")}</td>
@@ -52,6 +53,8 @@
<td>{t("announcements.table.winner")}</td>
{/each}
</tr>
</thead>
<tbody>
{#each window(event.fights.filter(f => f.group === group), rows) as fights}
<tr>
{#each fights as fight (fight.id)}
@@ -65,6 +68,7 @@
{/each}
</tr>
{/each}
</tbody>
</table>
</div>

View File

@@ -50,12 +50,15 @@
<div>
<table>
<thead>
<tr class="font-bold border-b">
{#each Array(rows) as i (i)}
<td>{t("announcements.table.team")}</td>
<td>{t("announcements.table.points")}</td>
{/each}
</tr>
</thead>
<tbody>
{#each window(teamPoints, rows) as teams}
<tr>
{#each teams as team (team.team.id)}
@@ -64,6 +67,7 @@
{/each}
</tr>
{/each}
</tbody>
</table>
</div>