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