Fix group filtering logic in FightTable.svelte
All checks were successful
SteamWarCI Build successful
All checks were successful
SteamWarCI Build successful
This commit is contained in:
@ -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, {
|
||||||
|
|||||||
Reference in New Issue
Block a user