feat(web): add custom file download button for runs output

This commit is contained in:
BennyKok
2023-12-20 23:14:01 +08:00
parent 8f67a136c3
commit ee68507755
10 changed files with 54 additions and 30 deletions
+2 -2
View File
@@ -128,7 +128,7 @@ export function RunWorkflowButton({
}
}}
>
Run <Play size={14} /> {isLoading && <LoadingIcon />}
Run {isLoading ? <LoadingIcon /> : <Play size={14} />}
</Button>
);
}
@@ -155,7 +155,7 @@ export function CreateDeploymentButton({
<DropdownMenu>
<DropdownMenuTrigger asChild>
<Button className="gap-2" disabled={isLoading} variant="outline">
Deploy <MoreVertical size={14} /> {isLoading && <LoadingIcon />}
Deploy {isLoading ? <LoadingIcon /> : <MoreVertical size={14} /> }
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent className="w-56">