diff --git a/public/react/src/modules/courses/busyWork/UseBank.js b/public/react/src/modules/courses/busyWork/UseBank.js index a6ea333c6..7bddb9979 100644 --- a/public/react/src/modules/courses/busyWork/UseBank.js +++ b/public/react/src/modules/courses/busyWork/UseBank.js @@ -121,9 +121,7 @@ class UseBank extends Component{ }) } onSave = () => { - this.setState({ - hometypepvisible:true - }) + const { checkBoxValues } = this.state; const { object_type } = this.props if(checkBoxValues.length==0){ @@ -132,6 +130,9 @@ class UseBank extends Component{ }) return; } + this.setState({ + hometypepvisible:true + }) const courseId = this.props.match.params.coursesId let url = `/question_banks/save_banks.json` this.setState({ loading: true }) @@ -290,7 +291,7 @@ class UseBank extends Component{ } -

+

{ isChecked !="" ? {isChecked}:"" }