diff --git a/public/react/src/modules/courses/Video/VideoIndex.js b/public/react/src/modules/courses/Video/VideoIndex.js index c4dae59c2..15372e2cc 100644 --- a/public/react/src/modules/courses/Video/VideoIndex.js +++ b/public/react/src/modules/courses/Video/VideoIndex.js @@ -241,10 +241,8 @@ class VideoIndex extends Component{ const {course_identity} = this.props.coursedata; const flag = parseInt(course_identity) < 4; - console.log(flag); const newOperation = flag; - const new_upload = flag || admin || is_teacher; - // console.log("p",this.props); + const new_upload = flag && (is_teacher && this.props.checkIfProfessionalCertification()); return( } - - - + { + !link ? + + + :"" + } + }