|
|
|
@ -200,6 +200,12 @@ class Addcourses extends Component{
|
|
|
|
|
// // modalSave:this.submitasyn,
|
|
|
|
|
// course_id:response.data.course_id
|
|
|
|
|
// })
|
|
|
|
|
|
|
|
|
|
// https://www.trustie.net/issues/22365
|
|
|
|
|
if (response.data.course_id == 2704) {
|
|
|
|
|
this.props.history.push('/courses/2704/boards/8367/messages/42072')
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if(response.data.course_id!=undefined){
|
|
|
|
|
this.submitasyn(response.data.course_id)
|
|
|
|
|
}
|
|
|
|
|