()
| 86 | } |
| 87 | |
| 88 | render () { |
| 89 | super.render() |
| 90 | if (this.leaderboards) { |
| 91 | this.session = this.leaderboards.session |
| 92 | this.myRank = +this.leaderboards.myRank |
| 93 | this.rankings = this.mapRankings(this.leaderboards.topPlayers.models) |
| 94 | this.playerRankings = this.mapRankings(this.nearbySessions()) |
| 95 | } |
| 96 | this.afterRender() |
| 97 | return this |
| 98 | } |
| 99 | |
| 100 | onLoaded () { return this.render() } |
| 101 |
no test coverage detected