|
|
|
@ -53,12 +53,21 @@ class MoveBox extends Component{
|
|
|
|
|
video_ids:[id],
|
|
|
|
|
new_category_id:selectSubId
|
|
|
|
|
}).then(result=>{
|
|
|
|
|
|
|
|
|
|
if(result){
|
|
|
|
|
|
|
|
|
|
const { setMoveVisible , successFunc , updataleftNavfun} = this.props;
|
|
|
|
|
updataleftNavfun && updataleftNavfun();
|
|
|
|
|
setMoveVisible && setMoveVisible(false);
|
|
|
|
|
successFunc && successFunc();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
this.props.showNotification(result.data.message);
|
|
|
|
|
}catch (e) {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}).catch(error=>{
|
|
|
|
|
console.log(error);
|
|
|
|
|
})
|
|
|
|
@ -69,7 +78,7 @@ class MoveBox extends Component{
|
|
|
|
|
const { data , selectSubId } = this.state;
|
|
|
|
|
|
|
|
|
|
let list = data && data.course_second_categories && data.course_second_categories.length>0?data.course_second_categories:undefined;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return(
|
|
|
|
|
<Modal
|
|
|
|
|
visible={visible}
|
|
|
|
@ -125,4 +134,4 @@ class MoveBox extends Component{
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export default MoveBox;
|
|
|
|
|
export default MoveBox;
|
|
|
|
|