diff --git a/src/editors/containers/VideoEditor/components/VideoSettingsModal/components/LicenseWidget/LicenseDetails.jsx b/src/editors/containers/VideoEditor/components/VideoSettingsModal/components/LicenseWidget/LicenseDetails.jsx index 83ceb8549..a0493ed22 100644 --- a/src/editors/containers/VideoEditor/components/VideoSettingsModal/components/LicenseWidget/LicenseDetails.jsx +++ b/src/editors/containers/VideoEditor/components/VideoSettingsModal/components/LicenseWidget/LicenseDetails.jsx @@ -29,7 +29,7 @@ export const LicenseDetails = ({ // redux updateField, }) => ( - level === LicenseLevel.block && details && license !== 'select' ? ( + level !== LicenseLevel.course && details && license !== 'select' ? (
@@ -81,7 +81,7 @@ export const LicenseDetails = ({ actions={( updateField({ licenseDetails: { ...details, @@ -116,7 +116,7 @@ export const LicenseDetails = ({ actions={( updateField({ licenseDetails: { ...details, @@ -152,7 +152,7 @@ export const LicenseDetails = ({ actions={( updateField({ licenseDetails: { ...details, diff --git a/src/editors/containers/VideoEditor/components/VideoSettingsModal/components/LicenseWidget/LicenseSelector.jsx b/src/editors/containers/VideoEditor/components/VideoSettingsModal/components/LicenseWidget/LicenseSelector.jsx index 5e54c381f..ced912c25 100644 --- a/src/editors/containers/VideoEditor/components/VideoSettingsModal/components/LicenseWidget/LicenseSelector.jsx +++ b/src/editors/containers/VideoEditor/components/VideoSettingsModal/components/LicenseWidget/LicenseSelector.jsx @@ -37,7 +37,7 @@ export const LicenseSelector = ({ as="select" ref={ref} defaultValue={license} - disabled={level !== LicenseLevel.block} + disabled={level === LicenseLevel.course} floatingLabel={intl.formatMessage(messages.licenseTypeLabel)} onChange={(e) => onLicenseChange(e.target.value)} > @@ -47,7 +47,7 @@ export const LicenseSelector = ({ return (); })} - {level === LicenseLevel.block ? ( + {level !== LicenseLevel.course ? ( + + + + + +
+`; diff --git a/src/editors/containers/VideoEditor/components/VideoSettingsModal/components/LicenseWidget/__snapshots__/LicenseSelector.test.jsx.snap b/src/editors/containers/VideoEditor/components/VideoSettingsModal/components/LicenseWidget/__snapshots__/LicenseSelector.test.jsx.snap index 838820b4d..68a68af0d 100644 --- a/src/editors/containers/VideoEditor/components/VideoSettingsModal/components/LicenseWidget/__snapshots__/LicenseSelector.test.jsx.snap +++ b/src/editors/containers/VideoEditor/components/VideoSettingsModal/components/LicenseWidget/__snapshots__/LicenseSelector.test.jsx.snap @@ -104,7 +104,7 @@ exports[`LicenseSelector snapshots snapshots: renders as expected with library l @@ -124,6 +124,18 @@ exports[`LicenseSelector snapshots snapshots: renders as expected with library l Creative Commons + + } + tooltipPlacement="top" + />