fix(workflows): user can click multiple times on run even while loading (#26)

This commit is contained in:
Emmanuel Morales
2024-02-15 14:39:20 +08:00
committed by GitHub
parent 01e8668d1a
commit ace12efd1a
+1 -1
View File
@@ -328,7 +328,7 @@ export function RunWorkflowButton({
className="px-1" className="px-1"
> >
<div className="flex justify-end"> <div className="flex justify-end">
<AutoFormSubmit> <AutoFormSubmit disabled={isLoading}>
Run Run
{isLoading ? <LoadingIcon /> : <Play size={14} />} {isLoading ? <LoadingIcon /> : <Play size={14} />}
</AutoFormSubmit> </AutoFormSubmit>