diff --git a/public/react/src/modules/courses/Video/Video.js b/public/react/src/modules/courses/Video/Video.js index e90156a56..cc4564897 100644 --- a/public/react/src/modules/courses/Video/Video.js +++ b/public/react/src/modules/courses/Video/Video.js @@ -255,7 +255,7 @@ class Video extends Component {
{ videos.map((item, key) => { - console.log(course_identity > 2 && item.user_id === user_id) + //console.log(course_identity > 2 && item.user_id === user_id) return ( this.props.Setmyktid(id)} @@ -270,7 +270,7 @@ class Video extends Component { operation={operation || item.user_id === user_id} deleteVideo={(admin || item.user_id === user_id) ? this.deleteVideo : undefined} moveVideo={videoData && videoData.has_category && flagMove ? () => this.moveVideo(item.id, (course_identity > 2 && item.user_id !== user_id)) : undefined} - + > ) diff --git a/public/react/src/modules/user/usersInfo/video/VideoInReviewItem.js b/public/react/src/modules/user/usersInfo/video/VideoInReviewItem.js index fe19c57e6..519b719f9 100644 --- a/public/react/src/modules/user/usersInfo/video/VideoInReviewItem.js +++ b/public/react/src/modules/user/usersInfo/video/VideoInReviewItem.js @@ -21,7 +21,7 @@ const clipboardMap = {} function VideoInReviewItem (props) { const theme = useContext(ThemeContext); const { history, file_url , play_url , cover_url , transcoded , title, created_at, published_at, isReview, id - , onEditVideo, onMaskClick, getCopyText, showNotification,vv,play_duration,operation , deleteVideo , moveVideo ,link, people_num,total_time} = props; + , onEditVideo, onMaskClick, getCopyText, showNotification,vv,play_duration,operation , deleteVideo , moveVideo ,link, people_num,total_time,Setmyktid} = props; useEffect(()=> { if (!isReview) { _clipboard = new ClipboardJS(`.copybtn_item_${id}`); @@ -48,7 +48,7 @@ function VideoInReviewItem (props) { history.push(`/users/${username}/videos/upload`) } const imgUrl = (!transcoded && !link) ? defaultImg : (cover_url || defaultImg); - + console.log(props) return (
@@ -95,7 +95,7 @@ function VideoInReviewItem (props) { { props&&props.mykt!=undefined?isReview !== true && moveVideo && - moveVideo(props)} + Setmyktid(props.id,props.title)} style={{ marginTop: '1px', display: 'inline-block'}} > :""