|
|
|
@ -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{
|
|
|
|
|
</div>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
<p style={{height:"20px",lineHeight:"20px;"}}>
|
|
|
|
|
<p style={{height:"20px",lineHeight:"20px;", marginTop: '4px'}}>
|
|
|
|
|
{
|
|
|
|
|
isChecked !="" ? <span className="color-red">{isChecked}</span>:""
|
|
|
|
|
}
|
|
|
|
|