Fix group filtering logic in FightTable.svelte
All checks were successful
SteamWarCI Build successful

This commit is contained in:
2025-03-01 11:15:39 +01:00
parent 4c72f4f26b
commit 23e10eef0f

View File

@ -55,7 +55,7 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{#each window(event.fights.filter(f => f.group === group), rows) as fights} {#each window(event.fights.filter(f => group === undefined ? true : f.group === group), rows) as fights}
<tr> <tr>
{#each fights as fight (fight.id)} {#each fights as fight (fight.id)}
<td>{Intl.DateTimeFormat(astroI18n.locale, { <td>{Intl.DateTimeFormat(astroI18n.locale, {