Update default key name to teamName
This commit is contained in:
parent
3e6205abf8
commit
b27c62098e
@ -143,7 +143,7 @@ export default {
|
|||||||
seasonNumber(newValue, oldValue) {
|
seasonNumber(newValue, oldValue) {
|
||||||
if (newValue !== oldValue){
|
if (newValue !== oldValue){
|
||||||
this.battingStats = []
|
this.battingStats = []
|
||||||
this.sortKey = 'team'
|
this.sortKey = 'teamName'
|
||||||
this.sortOrder = 1
|
this.sortOrder = 1
|
||||||
this.fetchData()
|
this.fetchData()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -153,7 +153,7 @@ export default {
|
|||||||
seasonNumber(newValue, oldValue) {
|
seasonNumber(newValue, oldValue) {
|
||||||
if (newValue !== oldValue) {
|
if (newValue !== oldValue) {
|
||||||
this.pitchingStats = []
|
this.pitchingStats = []
|
||||||
this.sortKey = 'team'
|
this.sortKey = 'teamName'
|
||||||
this.sortOrder = 1
|
this.sortOrder = 1
|
||||||
this.fetchData()
|
this.fetchData()
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user