diff --git a/public/react/src/modules/courses/coursesPublic/sendResources.js b/public/react/src/modules/courses/coursesPublic/sendResources.js index d86bf5024..48c50e8b2 100644 --- a/public/react/src/modules/courses/coursesPublic/sendResources.js +++ b/public/react/src/modules/courses/coursesPublic/sendResources.js @@ -278,8 +278,8 @@ class sendResources extends Component{ description:description, delay_publish:Radiovalue, }).then((result)=>{ - if(result.data){ - if(result.data.status===0){ + if(result){ + if(result.data){ if(result.data.status===0){ this.ModalCancelModalCancel(); this.props.updataleftNavfun();