@elementor/editor-editing-panel 3.32.0-24 → 3.32.0-25
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.
package/dist/index.js
CHANGED
|
@@ -3653,9 +3653,9 @@ var FlexOrderField = () => {
|
|
|
3653
3653
|
} = useStylesField("order", {
|
|
3654
3654
|
history: { propDisplayName: ORDER_LABEL }
|
|
3655
3655
|
});
|
|
3656
|
-
const [groupControlValue, setGroupControlValue] = (0, import_react27.useState)(getGroupControlValue(order?.value
|
|
3656
|
+
const [groupControlValue, setGroupControlValue] = (0, import_react27.useState)(getGroupControlValue(order?.value ?? null));
|
|
3657
3657
|
(0, import_react27.useEffect)(() => {
|
|
3658
|
-
const newGroupControlValue = getGroupControlValue(order?.value
|
|
3658
|
+
const newGroupControlValue = getGroupControlValue(order?.value ?? null);
|
|
3659
3659
|
setGroupControlValue(newGroupControlValue);
|
|
3660
3660
|
}, [order?.value]);
|
|
3661
3661
|
const handleToggleButtonChange = (group) => {
|