()
| 38 | } |
| 39 | |
| 40 | onLoaded () { |
| 41 | for (const campaign of Array.from(this.campaigns.models)) { |
| 42 | for (const level of Array.from(campaign.levels.models)) { |
| 43 | const levelSlug = level.get('slug') |
| 44 | this.levels[levelSlug] = level |
| 45 | } |
| 46 | } |
| 47 | this.processLevels() |
| 48 | return super.onLoaded() |
| 49 | } |
| 50 | |
| 51 | processLevels () { |
| 52 | this.processedLevels = {} |
nothing calls this directly
no test coverage detected