Add bolding to season schedule
This commit is contained in:
parent
e3aeea1e7b
commit
4fc3cd7344
@ -28,7 +28,8 @@
|
||||
<tr v-for="game in matchup" :key="game.id">
|
||||
<td>
|
||||
<RouterLink
|
||||
:to="{ name: 'team', params: { seasonNumber: seasonNumber, teamAbbreviation: game.away_team.abbrev } }">
|
||||
:to="{ name: 'team', params: { seasonNumber: seasonNumber, teamAbbreviation: game.away_team.abbrev } }"
|
||||
:style="{ 'font-weight': game.away_score > game.home_score ? 'bold' : 'normal' }">
|
||||
{{ game.away_team.abbrev }}
|
||||
</RouterLink>
|
||||
</td>
|
||||
@ -41,7 +42,8 @@
|
||||
</td>
|
||||
<td>
|
||||
<RouterLink
|
||||
:to="{ name: 'team', params: { seasonNumber: seasonNumber, teamAbbreviation: game.home_team.abbrev } }">
|
||||
:to="{ name: 'team', params: { seasonNumber: seasonNumber, teamAbbreviation: game.home_team.abbrev } }"
|
||||
:style="{ 'font-weight': game.home_score > game.away_score ? 'bold' : 'normal' }">
|
||||
{{ game.home_team.abbrev }}
|
||||
</RouterLink>
|
||||
</td>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user