From e323793641d133c5c92f465e08a4c2b8cd2004f2 Mon Sep 17 00:00:00 2001 From: Kyrylo Hudym-Levkovych Date: Tue, 18 Jun 2024 22:36:17 +0300 Subject: [PATCH] fix active Share alive checkbox, show license details link only for creative commons --- .../components/LicenseWidget/LicenseDetails.jsx | 2 +- .../components/LicenseWidget/LicenseDisplay.jsx | 16 +++++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) 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 cba3e3b3a..9cd415a57 100644 --- a/src/editors/containers/VideoEditor/components/VideoSettingsModal/components/LicenseWidget/LicenseDetails.jsx +++ b/src/editors/containers/VideoEditor/components/VideoSettingsModal/components/LicenseWidget/LicenseDetails.jsx @@ -123,7 +123,7 @@ export const LicenseDetails = ({ updateField({ licenseDetails: { diff --git a/src/editors/containers/VideoEditor/components/VideoSettingsModal/components/LicenseWidget/LicenseDisplay.jsx b/src/editors/containers/VideoEditor/components/VideoSettingsModal/components/LicenseWidget/LicenseDisplay.jsx index 435d9fd42..67a873cf0 100644 --- a/src/editors/containers/VideoEditor/components/VideoSettingsModal/components/LicenseWidget/LicenseDisplay.jsx +++ b/src/editors/containers/VideoEditor/components/VideoSettingsModal/components/LicenseWidget/LicenseDisplay.jsx @@ -28,13 +28,15 @@ export const LicenseDisplay = ({
{licenseDescription}
- - - + {license === LicenseTypes.creativeCommons && ( + + + + )} ); }