fix: fix node valid detect (#21709)
This commit is contained in:
@@ -184,10 +184,12 @@ const VarReferencePicker: FC<Props> = ({
|
|||||||
return startNode?.data
|
return startNode?.data
|
||||||
|
|
||||||
const node = getNodeInfoById(availableNodes, outputVarNodeId)?.data
|
const node = getNodeInfoById(availableNodes, outputVarNodeId)?.data
|
||||||
|
if (node) {
|
||||||
return {
|
return {
|
||||||
...node,
|
...node,
|
||||||
id: outputVarNodeId,
|
id: outputVarNodeId,
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}, [value, hasValue, isConstant, isIterationVar, iterationNode, availableNodes, outputVarNodeId, startNode, isLoopVar, loopNode])
|
}, [value, hasValue, isConstant, isIterationVar, iterationNode, availableNodes, outputVarNodeId, startNode, isLoopVar, loopNode])
|
||||||
|
|
||||||
const isShowAPart = (value as ValueSelector).length > 2
|
const isShowAPart = (value as ValueSelector).length > 2
|
||||||
|
Reference in New Issue
Block a user