fix: node output field loop input check to match colors (#11230)

* Fix node output field loop input check to match colors

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Viktor Avelino
2026-01-08 09:42:51 -05:00
committed by GitHub
parent 1b113a4e1b
commit 02cacd773e

View File

@ -336,7 +336,11 @@ function NodeOutputField({
setFilterEdge={setFilterEdge}
showNode={showNode}
testIdComplement={`${data?.type?.toLowerCase()}-${showNode ? "shownode" : "noshownode"}`}
colorName={colorName}
colorName={
data.node?.outputs?.[index].allows_loop
? loopInputColorName
: colorName
}
/>
),
[
@ -350,6 +354,9 @@ function NodeOutputField({
showNode,
data?.type,
colorName,
data.node?.outputs?.[index].allows_loop,
loopInputColorName,
index,
],
);