diff --git a/src/course-home/progress-tab/ProgressTab.jsx b/src/course-home/progress-tab/ProgressTab.jsx index 585b12b2c4..65376db874 100644 --- a/src/course-home/progress-tab/ProgressTab.jsx +++ b/src/course-home/progress-tab/ProgressTab.jsx @@ -34,14 +34,14 @@ const ProgressTab = () => { {/* Main body */}
{!disableProgressGraph && } - {!wideScreen && } + {!wideScreen && }
{/* Side panel */}
- {wideScreen && } + {wideScreen && }
diff --git a/src/plugin-slots/ProgressTabCertificateStatusSlot/index.jsx b/src/plugin-slots/ProgressTabCertificateStatusSlot/index.jsx index b59cda13b9..c4fc642c49 100644 --- a/src/plugin-slots/ProgressTabCertificateStatusSlot/index.jsx +++ b/src/plugin-slots/ProgressTabCertificateStatusSlot/index.jsx @@ -2,11 +2,12 @@ import PropTypes from 'prop-types'; import { PluginSlot } from '@openedx/frontend-plugin-framework'; import CertificateStatus from '../../course-home/progress-tab/certificate-status/CertificateStatus'; -const ProgressTabCertificateStatusSlot = ({ courseId }) => ( +const ProgressTabCertificateStatusSlot = ({ courseId, placement }) => ( @@ -15,6 +16,7 @@ const ProgressTabCertificateStatusSlot = ({ courseId }) => ( ProgressTabCertificateStatusSlot.propTypes = { courseId: PropTypes.string.isRequired, + placement: PropTypes.oneOf(['MAIN_BODY', 'SIDEBAR']), }; export default ProgressTabCertificateStatusSlot;