|
|
|
@ -80,7 +80,10 @@ class AddStudentModal extends Component{
|
|
|
|
|
}
|
|
|
|
|
setVisible = (visible) => {
|
|
|
|
|
if (visible) {
|
|
|
|
|
this.setState({school_name: this.props.user.user_school},()=>{
|
|
|
|
|
this.setState({
|
|
|
|
|
school_name: this.props.user.user_school,
|
|
|
|
|
name: undefined
|
|
|
|
|
},()=>{
|
|
|
|
|
this.fetchMemberList();
|
|
|
|
|
})
|
|
|
|
|
this.fetchOptions()
|
|
|
|
@ -88,7 +91,7 @@ class AddStudentModal extends Component{
|
|
|
|
|
this.refs.modalWrapper.setVisible(visible)
|
|
|
|
|
if (visible == false) {
|
|
|
|
|
this.setState({
|
|
|
|
|
checkBoxValues: []
|
|
|
|
|
checkBoxValues: [],
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|