diff --git a/src/components/LeaderboardTeamBattingTable.vue b/src/components/LeaderboardTeamBattingTable.vue index 353a712..fd21cfd 100644 --- a/src/components/LeaderboardTeamBattingTable.vue +++ b/src/components/LeaderboardTeamBattingTable.vue @@ -143,7 +143,7 @@ export default { seasonNumber(newValue, oldValue) { if (newValue !== oldValue){ this.battingStats = [] - this.sortKey = 'team' + this.sortKey = 'teamName' this.sortOrder = 1 this.fetchData() } diff --git a/src/components/LeaderboardTeamPitchingTable.vue b/src/components/LeaderboardTeamPitchingTable.vue index 1151e40..c9d4d76 100644 --- a/src/components/LeaderboardTeamPitchingTable.vue +++ b/src/components/LeaderboardTeamPitchingTable.vue @@ -153,7 +153,7 @@ export default { seasonNumber(newValue, oldValue) { if (newValue !== oldValue) { this.pitchingStats = [] - this.sortKey = 'team' + this.sortKey = 'teamName' this.sortOrder = 1 this.fetchData() }