Fix workflow definition history node data cannot be opened

This commit is contained in:
break60 2020-05-19 19:04:35 +08:00
parent 86f4276f0f
commit aa5e2cc49d

View File

@ -199,8 +199,8 @@ JSP.prototype.jsonHandle = function ({ largeJson, locations }) {
taskType: v.type,
runFlag: v.runFlag,
nodenumber: locations[v.id].nodenumber,
successNode: v.conditionResult.successNode[0],
failedNode: v.conditionResult.failedNode[0]
successNode: v.conditionResult == undefined? '' : v.conditionResult.successNode[0],
failedNode: v.conditionResult == undefined? '' : v.conditionResult.failedNode[0]
}))
// contextmenu event