beta-glozic-workflow 1.3.0 → 1.6.0

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/dist/index.js +3 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -74,11 +74,11 @@ class Designer extends _react.Component {
74
74
  let data = JSON.parse(JSON.stringify(layout));
75
75
  data.definition.actions = props.Nodes;
76
76
  this.importedJsonFile(data);
77
- } else if (props.options.updatedNodeId && props.options.actionConfig) {
77
+ } else if (props.options.updatedNodeId && props.options.properties) {
78
78
  console.log('on update action config');
79
79
  console.log(props.options);
80
80
  if (this.nodes[props.options.updatedNodeId]) {
81
- this.nodes[props.options.updatedNodeId].configuration["actionConfig"] = props.options.actionConfig;
81
+ this.nodes[props.options.updatedNodeId].configuration["properties"] = props.options.properties;
82
82
  }
83
83
  }
84
84
  }
@@ -1410,10 +1410,9 @@ class Designer extends _react.Component {
1410
1410
  actionImage: item.actionImage,
1411
1411
  isHidden: false,
1412
1412
  nodeType: item.nodeType,
1413
- properties: propertiesClone,
1414
1413
  actionName: copyTask ? copyTask.configuration.actionName : item.name,
1415
1414
  isDisabled: copyTask ? copyTask.configuration.isDisabled : false,
1416
- actionConfig: copyTask ? copyTask.configuration.actionConfig : {}
1415
+ properties: copyTask ? copyTask.configuration.properties : {}
1417
1416
  },
1418
1417
  branches: null,
1419
1418
  wrapper: item.wrapper,
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "components",
8
8
  "ui"
9
9
  ],
10
- "version": "1.3.0",
10
+ "version": "1.6.0",
11
11
  "private": false,
12
12
  "main": "dist/index.js",
13
13
  "module": "dist/index.js",