()
| 50 | } |
| 51 | |
| 52 | initialize () { |
| 53 | this.campaigns = new Campaigns() |
| 54 | |
| 55 | this.listenTo(this.campaigns, 'sync', this.onCampaignsLoaded) |
| 56 | return this.supermodel.trackRequest(this.campaigns.fetch({ |
| 57 | data: { |
| 58 | project: 'name,slug,levels', |
| 59 | }, |
| 60 | })) |
| 61 | } |
| 62 | |
| 63 | onCampaignsLoaded (campCollection) { |
| 64 | return (() => { |