mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 14:03:28 -04:00
Fix removing students from a classroom
TeacherClassView loaded course instances by owner rather than by classroom, so the student would be removed from course instances in unrelated but commonly owned classrooms.
This commit is contained in:
parent
5e7b267691
commit
aed5e6b8ac
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ module.exports = class TeacherClassView extends RootView
|
|||
@supermodel.trackCollection(@courses)
|
||||
|
||||
@courseInstances = new CourseInstances()
|
||||
@courseInstances.fetchByOwner(me.id)
|
||||
@courseInstances.fetchForClassroom(classroomID)
|
||||
@supermodel.trackCollection(@courseInstances)
|
||||
|
||||
onLoaded: ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue