@pushwoosh/smart-components-kit 1.2.4 → 1.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -140,6 +140,10 @@ export const CreateCropDrawer = ({
|
|
|
140
140
|
type: 'success'
|
|
141
141
|
});
|
|
142
142
|
onCreated(parent.uuid, response.file);
|
|
143
|
+
// Back to the view-only default: the form's ratio+size now match the
|
|
144
|
+
// crop that was just created, so leaving it would flash the
|
|
145
|
+
// "duplicate exists" note right after a successful create.
|
|
146
|
+
setRatio('original');
|
|
143
147
|
} catch (error) {
|
|
144
148
|
openToast({
|
|
145
149
|
title: error.message || lang({
|
package/package.json
CHANGED