mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-27 21:31:16 -04:00
Don't convert to teacher automatically in EnrollmentsView
This commit is contained in:
parent
edea13483a
commit
1999b41ff3
1 changed files with 0 additions and 1 deletions
|
@ -47,7 +47,6 @@ module.exports = class EnrollmentsView extends RootView
|
|||
onLoaded: ->
|
||||
@calculateEnrollmentStats()
|
||||
@pricePerStudent = @products.findWhere({name: 'course'}).get('amount')
|
||||
me.setRole 'teacher'
|
||||
super()
|
||||
|
||||
getPriceString: -> '$' + (@getPrice()/100).toFixed(2)
|
||||
|
|
Loading…
Add table
Reference in a new issue