From 09c91b8c3432dc64c170ad5781bb91cd5b8976c8 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira <62335616+lucaseduoli@users.noreply.github.com> Date: Wed, 26 Feb 2025 18:18:49 -0300 Subject: [PATCH] fix: changed stop build icon on components (#6817) Added red square instead of X on stop build button on component Co-authored-by: Gabriel Luiz Freitas Almeida --- .../CustomNodes/GenericNode/components/NodeStatus/index.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/frontend/src/CustomNodes/GenericNode/components/NodeStatus/index.tsx b/src/frontend/src/CustomNodes/GenericNode/components/NodeStatus/index.tsx index 434e9ce36..3bd43131a 100644 --- a/src/frontend/src/CustomNodes/GenericNode/components/NodeStatus/index.tsx +++ b/src/frontend/src/CustomNodes/GenericNode/components/NodeStatus/index.tsx @@ -177,7 +177,7 @@ export default function NodeStatus({ const iconName = BuildStatus.BUILDING === buildStatus ? isHovered - ? "X" + ? "Square" : "Loader2" : "Play"; @@ -185,7 +185,8 @@ export default function NodeStatus({ const iconClasses = cn( "play-button-icon", isHovered ? "text-foreground" : "text-placeholder-foreground", - BuildStatus.BUILDING === buildStatus && !isHovered && "animate-spin", + BuildStatus.BUILDING === buildStatus && + (isHovered ? "text-status-red" : "animate-spin"), ); const getTooltipContent = () => {