Skip to content

Commit 2ce68fc

Browse files
authored
fixes widgetOptions and minSize in image cropping (#5050)
1 parent a2b5e95 commit 2ce68fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/@apostrophecms/image/ui/apos/components/AposImageRelationshipEditor.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ export default {
159159
aspectRatioChoices,
160160
disableAspectRatio
161161
} = this.getAspectRatioData(widgetOptions);
162-
const minSize = this.widgetOptions.minSize || [];
162+
const minSize = widgetOptions.minSize || [];
163163
const image = this.getImage();
164164
const data = this.setDataValues(image);
165165

0 commit comments

Comments
 (0)