Fix loop block label update bug (#1496)
This commit is contained in:
@@ -1194,10 +1194,11 @@ function getUpdatedNodesAfterLabelUpdateForParameterKeys(
|
|||||||
...node,
|
...node,
|
||||||
data: {
|
data: {
|
||||||
...node.data,
|
...node.data,
|
||||||
loopValue:
|
label: node.id === id ? newLabel : node.data.label,
|
||||||
node.data.loopValue === getOutputParameterKey(oldLabel)
|
loopVariableReference:
|
||||||
|
node.data.loopVariableReference === getOutputParameterKey(oldLabel)
|
||||||
? getOutputParameterKey(newLabel)
|
? getOutputParameterKey(newLabel)
|
||||||
: node.data.loopValue,
|
: node.data.loopVariableReference,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user