|
|
@ -218,9 +218,9 @@ class studentsList extends Component{
|
|
|
|
})
|
|
|
|
})
|
|
|
|
this.fetchAll()
|
|
|
|
this.fetchAll()
|
|
|
|
const isAdmin = this.props.isAdmin()
|
|
|
|
const isAdmin = this.props.isAdmin()
|
|
|
|
if (isAdmin) {
|
|
|
|
// if (isAdmin) {
|
|
|
|
this.fetchCourseGroups()
|
|
|
|
this.fetchCourseGroups();
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
isAdmin && on('addStudentSuccess', this.addStudentSuccessListener)
|
|
|
|
isAdmin && on('addStudentSuccess', this.addStudentSuccessListener)
|
|
|
|
isAdmin && on('updateNavSuccess', this.updateNavSuccess)
|
|
|
|
isAdmin && on('updateNavSuccess', this.updateNavSuccess)
|
|
|
|