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

View File

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