(teamID)
| 453 | } |
| 454 | |
| 455 | showPlayModal (teamID) { |
| 456 | const session = ((() => { |
| 457 | const result = [] |
| 458 | for (const s of Array.from(this.sessions.models)) { |
| 459 | if (s.get('team') === teamID) { |
| 460 | result.push(s) |
| 461 | } |
| 462 | } |
| 463 | return result |
| 464 | })())[0] |
| 465 | const modal = new LadderPlayModal({ league: this.league, leagueType: this.leagueType, tournament: this.tournamentId, course: this.course }, this.level, session, teamID) |
| 466 | return this.openModalView(modal) |
| 467 | } |
| 468 | |
| 469 | onClickedLink (e) { |
| 470 | const link = $(e.target).closest('a').attr('href') |
no test coverage detected