File tree Expand file tree Collapse file tree
apps/web/src/components/workflow Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ export const TypeBadge = ({
117117 ( edge . target === nodeId && edge . targetHandle === id ) ||
118118 ( edge . source === nodeId && edge . sourceHandle === id )
119119 ) ;
120+ const isActive = hasValue || isConnected ;
120121 // Determine if this is an input parameter
121122 const isInput = position === Position . Left ;
122123
@@ -132,8 +133,8 @@ export const TypeBadge = ({
132133 className = { cn (
133134 "!w-4 !h-4 !border !rounded-md !inline-flex !items-center !justify-center p !shadow-sm" ,
134135 {
135- "!bg-neutral-100 dark:!bg-neutral-800 " : hasValue ,
136- "!bg-white dark:!bg-neutral-900" : ! hasValue ,
136+ "!bg-neutral-200 dark:!bg-neutral-700 " : isActive ,
137+ "!bg-white dark:!bg-neutral-900" : ! isActive ,
137138 "!border-border" : ! selected && executionState === "idle" ,
138139 "!border-yellow-400" : ! selected && executionState === "executing" ,
139140 "!border-green-500" : ! selected && executionState === "completed" ,
You can’t perform that action at this time.
0 commit comments