|
|
@ -121,9 +121,7 @@ class UseBank extends Component{
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
onSave = () => {
|
|
|
|
onSave = () => {
|
|
|
|
this.setState({
|
|
|
|
|
|
|
|
hometypepvisible:true
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
const { checkBoxValues } = this.state;
|
|
|
|
const { checkBoxValues } = this.state;
|
|
|
|
const { object_type } = this.props
|
|
|
|
const { object_type } = this.props
|
|
|
|
if(checkBoxValues.length==0){
|
|
|
|
if(checkBoxValues.length==0){
|
|
|
@ -132,6 +130,9 @@ class UseBank extends Component{
|
|
|
|
})
|
|
|
|
})
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
|
|
|
|
hometypepvisible:true
|
|
|
|
|
|
|
|
})
|
|
|
|
const courseId = this.props.match.params.coursesId
|
|
|
|
const courseId = this.props.match.params.coursesId
|
|
|
|
let url = `/question_banks/save_banks.json`
|
|
|
|
let url = `/question_banks/save_banks.json`
|
|
|
|
this.setState({ loading: true })
|
|
|
|
this.setState({ loading: true })
|
|
|
@ -290,7 +291,7 @@ class UseBank extends Component{
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
<p style={{height:"20px",lineHeight:"20px;"}}>
|
|
|
|
<p style={{height:"20px",lineHeight:"20px;", marginTop: '4px'}}>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
isChecked !="" ? <span className="color-red">{isChecked}</span>:""
|
|
|
|
isChecked !="" ? <span className="color-red">{isChecked}</span>:""
|
|
|
|
}
|
|
|
|
}
|
|
|
|