diff --git a/src/frontend/src/CustomNodes/GenericNode/components/NodeOutputfield/index.tsx b/src/frontend/src/CustomNodes/GenericNode/components/NodeOutputfield/index.tsx index d1ed73f9b7..a3f84fbc6e 100644 --- a/src/frontend/src/CustomNodes/GenericNode/components/NodeOutputfield/index.tsx +++ b/src/frontend/src/CustomNodes/GenericNode/components/NodeOutputfield/index.tsx @@ -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, ], );