Fix IDE warnings
This commit is contained in:
parent
3f2b2869ca
commit
1bc05eccc0
@ -36,7 +36,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="career-batting-table">
|
||||
<tr v-for="stat in sortedRegularAndPostSeasonBatting">
|
||||
<tr v-for="stat in sortedRegularAndPostSeasonBatting" :key="`${stat.seasonNumber}-${stat.isRegularSeason}`">
|
||||
<td>S{{ stat.seasonNumber }}{{ stat.isRegularSeason ? '' : ' / Playoffs' }}</td>
|
||||
<td>{{ stat.pa }}</td>
|
||||
<td>{{ stat.ab }}</td>
|
||||
@ -67,7 +67,7 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr v-for="(stat, idx) in careerBattingStats">
|
||||
<tr v-for="(stat, idx) in careerBattingStats" :key="idx">
|
||||
<th>Career{{ idx > 0 ? ' / Playoffs' : '' }}</th>
|
||||
<th>{{ stat.pa }}</th>
|
||||
<th>{{ stat.ab }}</th>
|
||||
@ -112,7 +112,7 @@ interface BattingStatWithSeason extends BattingStat {
|
||||
}
|
||||
|
||||
export default {
|
||||
name: "PlayerCareerBattingTable",
|
||||
name: 'PlayerCareerBattingTable',
|
||||
props: {
|
||||
regularSeasonBattingStats: { type: Array<BattingStat>, required: true },
|
||||
postSeasonBattingStats: { type: Array<BattingStat>, required: true },
|
||||
|
||||
Loading…
Reference in New Issue
Block a user