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">
|
<tr v-for="game in matchup" :key="game.id">
|
||||||
<td>
|
<td>
|
||||||
<RouterLink
|
<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 }}
|
{{ game.away_team.abbrev }}
|
||||||
</RouterLink>
|
</RouterLink>
|
||||||
</td>
|
</td>
|
||||||
@ -41,7 +42,8 @@
|
|||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<RouterLink
|
<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 }}
|
{{ game.home_team.abbrev }}
|
||||||
</RouterLink>
|
</RouterLink>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user