Skip to content

Commit

Permalink
[SITES-14797] Dynamic Media controls are no longer hidden for the Tea…
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Myronenko committed Jul 25, 2023
1 parent 54758cd commit 4064863
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,11 @@
$cqFileUpload = $dialog.find(".cmp-image__editor-file-upload");

$dynamicMediaGroup = $dialogContent.find(".cmp-image__editor-dynamicmedia");
$dynamicMediaGroup.hide();
areDMFeaturesEnabled = ($dynamicMediaGroup.length === 1);
if (areDMFeaturesEnabled) {
smartCropRenditionsDropDown = $dynamicMediaGroup.find(smartCropRenditionDropDownSelector).get(0);
} else {
$dynamicMediaGroup.hide();

Check failure on line 90 in content/src/content/jcr_root/apps/core/wcm/components/image/v3/image/clientlibs/editor/js/image.js

View workflow job for this annotation

GitHub Actions / build-js (14)

Expected indentation of 16 spaces but found 4 tabs
}

imageFromPageImage = dialogContent.querySelector("coral-checkbox[name='./imageFromPageImage']");
Expand Down

0 comments on commit 4064863

Please sign in to comment.