fix: fix node valid detect (#21709)
This commit is contained in:
parent
eb9edf4908
commit
7c76458b18
1 changed files with 5 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue