diff --git a/src/frontend/src/CustomNodes/GenericNode/components/NodeOutputfield/index.tsx b/src/frontend/src/CustomNodes/GenericNode/components/NodeOutputfield/index.tsx index 6a8a8e662..785eac633 100644 --- a/src/frontend/src/CustomNodes/GenericNode/components/NodeOutputfield/index.tsx +++ b/src/frontend/src/CustomNodes/GenericNode/components/NodeOutputfield/index.tsx @@ -138,10 +138,10 @@ const InspectButton = memo( className={cn( "icon-size", isToolMode - ? displayOutputPreview && !unknownOutput + ? displayOutputPreview && !unknownOutput && !disabled ? "text-background hover:text-secondary-hover" : "cursor-not-allowed text-placeholder-foreground opacity-80" - : displayOutputPreview && !unknownOutput + : displayOutputPreview && !unknownOutput && !disabled ? "text-foreground hover:text-primary-hover" : "cursor-not-allowed text-placeholder-foreground opacity-60", errorOutput ? "text-destructive" : "",