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.
- package/dist/index.js +3 -4
- 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.
|
|
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["
|
|
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
|
-
|
|
1415
|
+
properties: copyTask ? copyTask.configuration.properties : {}
|
|
1417
1416
|
},
|
|
1418
1417
|
branches: null,
|
|
1419
1418
|
wrapper: item.wrapper,
|