Update default key name to teamName

This commit is contained in:
Peter 2024-11-06 21:14:39 -06:00
parent 3e6205abf8
commit b27c62098e
2 changed files with 2 additions and 2 deletions

View File

@ -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()
}

View File

@ -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()
}