Add elo to teams table (#325)

This commit is contained in:
Erik Vroon
2023-11-08 17:44:51 +01:00
committed by GitHub
parent a76abc9364
commit 68aff95fe4

View File

@@ -41,6 +41,7 @@ export default function TeamsTable({
<DateTime datetime={team.created} />
</td>
<td>{team.swiss_score}</td>
<td>{team.elo_score}</td>
<td>
<TeamModal
tournament_id={tournamentData.id}
@@ -77,6 +78,9 @@ export default function TeamsTable({
<ThSortable state={tableState} field="swiss_score">
Swiss score
</ThSortable>
<ThSortable state={tableState} field="elo_score">
ELO score
</ThSortable>
<ThNotSortable>{null}</ThNotSortable>
</tr>
</thead>