(context)
| 209 | } |
| 210 | |
| 211 | getRenderData (context) { |
| 212 | let left |
| 213 | if (context == null) { context = {} } |
| 214 | context = super.getRenderData(context) |
| 215 | context.level = this.level |
| 216 | context.authorized = me.isAdmin() || this.level.hasWriteAccess(me) |
| 217 | context.anonymous = me.get('anonymous') |
| 218 | context.recentlyPlayedOpponents = (left = __guard__(storage.load('recently-played-matches'), x => x[this.levelID])) != null ? left : [] |
| 219 | return context |
| 220 | } |
| 221 | |
| 222 | afterRender () { |
| 223 | super.afterRender() |
nothing calls this directly
no test coverage detected