|
|
@ -241,10 +241,8 @@ class VideoIndex extends Component{
|
|
|
|
|
|
|
|
|
|
|
|
const {course_identity} = this.props.coursedata;
|
|
|
|
const {course_identity} = this.props.coursedata;
|
|
|
|
const flag = parseInt(course_identity) < 4;
|
|
|
|
const flag = parseInt(course_identity) < 4;
|
|
|
|
console.log(flag);
|
|
|
|
|
|
|
|
const newOperation = flag;
|
|
|
|
const newOperation = flag;
|
|
|
|
const new_upload = flag || admin || is_teacher;
|
|
|
|
const new_upload = flag && (is_teacher && this.props.checkIfProfessionalCertification());
|
|
|
|
// console.log("p",this.props);
|
|
|
|
|
|
|
|
return(
|
|
|
|
return(
|
|
|
|
<React.Fragment>
|
|
|
|
<React.Fragment>
|
|
|
|
<VideoLink
|
|
|
|
<VideoLink
|
|
|
|