()
| 140 | } |
| 141 | |
| 142 | onLoaded () { |
| 143 | this.updateStripeStatus() |
| 144 | this.trialRequest = this.trialRequests.first() |
| 145 | if (this.trialRequest) { this.models.push(this.trialRequest) } |
| 146 | this.prepaidTableState = {} |
| 147 | this.productTableState = {} |
| 148 | this.foundTeachers = [] |
| 149 | this.administratedTeachers = [] |
| 150 | this.trialRequests = new TrialRequests() |
| 151 | if (me.isAdmin()) { this.supermodel.trackRequest(this.trialRequests.fetchByApplicant(this.userHandle)) } |
| 152 | |
| 153 | return super.onLoaded() |
| 154 | } |
| 155 | |
| 156 | afterInsert () { |
| 157 | if ((window.location.pathname === '/admin') && (window.location.search !== ('?user=' + this.user.id))) { |
nothing calls this directly
no test coverage detected