easy-email-pro-theme 1.51.6 → 1.51.7

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.
Files changed (2) hide show
  1. package/lib/index.js +4 -2
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -704,7 +704,7 @@ const assignIdsToElementTree = (element, overwrite = false) => {
704
704
  if (overwrite) {
705
705
  node.id = nanoid();
706
706
  } else {
707
- if (map.has(node.id)) {
707
+ if (!map.has(node.id)) {
708
708
  const newId = nanoid();
709
709
  node.id = newId;
710
710
  } else {
@@ -30090,7 +30090,9 @@ function Condition(props) {
30090
30090
  };
30091
30091
  const onSubmit = (values) => {
30092
30092
  setFieldValue(nodePath, "logic", __spreadProps(__spreadValues({}, selectedBlock.logic), {
30093
- condition: values.condition
30093
+ condition: __spreadProps(__spreadValues({}, values.condition), {
30094
+ enabled: true
30095
+ })
30094
30096
  }));
30095
30097
  setConditionModalVisible(false);
30096
30098
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy-email-pro-theme",
3
- "version": "1.51.6",
3
+ "version": "1.51.7",
4
4
  "description": "",
5
5
  "files": [
6
6
  "lib"