mirror of
https://github.com/misenhower/splatoon2.ink.git
synced 2026-03-21 17:24:37 -05:00
Fix issues with missing Splatfest vote/win numbers
Unfortunately, Nintendo has removed this data from SplatNet. I'm leaving this in here for now though in case it comes back.
This commit is contained in:
parent
83fed268e2
commit
cb6faef647
|
|
@ -39,8 +39,8 @@ export default {
|
|||
methods: {
|
||||
resultTitle(team) {
|
||||
if (this.type == 'vote')
|
||||
return this.results.team_participants[team];
|
||||
return this.results.team_scores[`${team}_${this.type}`];
|
||||
return this.results.team_participants && this.results.team_participants[team];
|
||||
return this.results.team_scores && this.results.team_scores[`${team}_${this.type}`];
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user