Changed Run Flow button
This commit is contained in:
parent
9cafc09d6f
commit
1ab44024c2
2 changed files with 5 additions and 3 deletions
|
|
@ -448,7 +448,7 @@ export default function GenericNode({
|
|||
</div>
|
||||
{showNode && (
|
||||
<Button
|
||||
variant="outline"
|
||||
variant="secondary"
|
||||
className={"group h-9 px-1.5"}
|
||||
onClick={() => {
|
||||
if (data?.build_status === BuildStatus.BUILDING || isBuilding)
|
||||
|
|
|
|||
|
|
@ -289,11 +289,13 @@ export default function IOView({ children, open, setOpen }): JSX.Element {
|
|||
</div>
|
||||
{!haveChat && (
|
||||
<div className="flex w-full justify-end pt-6">
|
||||
<Button className="px-3" onClick={() => sendMessage(1)}>
|
||||
<Button variant={"outline"} className="px-3 flex gap-2" onClick={() => sendMessage(1)}>
|
||||
|
||||
<IconComponent
|
||||
name={isBuilding ? "Loader2" : "Play"}
|
||||
className={cn("h-6 w-6", isBuilding ? "animate-spin" : "")}
|
||||
className={cn("h-4 w-4", isBuilding ? "animate-spin" : "fill-current text-medium-indigo")}
|
||||
/>
|
||||
Run Flow
|
||||
</Button>
|
||||
</div>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue