mirror of
https://github.com/misenhower/splatoon2.ink.git
synced 2026-08-21 18:04:24 -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:
@@ -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}`];
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user