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 <gabriel@langflow.org>
This commit is contained in:
parent
7b3dc0b453
commit
09c91b8c34
1 changed files with 3 additions and 2 deletions
|
|
@ -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 = () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue