From b27c62098e20f2c77d9e4e1f9ddcd6ab4f79e807 Mon Sep 17 00:00:00 2001 From: Peter Date: Wed, 6 Nov 2024 21:14:39 -0600 Subject: [PATCH] Update default key name to teamName --- src/components/LeaderboardTeamBattingTable.vue | 2 +- src/components/LeaderboardTeamPitchingTable.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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() }