Sort by game id
This commit is contained in:
parent
642dc6e673
commit
1cf70a9c88
@ -25,7 +25,8 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody :id="`matchup-${index}`">
|
||||
<tr v-for="game in matchup" :key="game.id" :id="`game-id-${game.id}`">
|
||||
<tr v-for="game in matchup.sort((g1, g2) => g1.id - g2.id)" :key="game.id"
|
||||
:id="`game-id-${game.id}`">
|
||||
<td>
|
||||
<RouterLink
|
||||
:to="{ name: 'team', params: { seasonNumber: seasonNumber, teamAbbreviation: game.away_team.abbrev } }"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user