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

This commit is contained in:
EmmanuelMr18
2024-02-14 19:00:18 -06:00
parent 01e8668d1a
commit 9d999f92a9
+1 -1
View File
@@ -328,7 +328,7 @@ export function RunWorkflowButton({
className="px-1"
>
<div className="flex justify-end">
<AutoFormSubmit>
<AutoFormSubmit disabled={isLoading}>
Run
{isLoading ? <LoadingIcon /> : <Play size={14} />}
</AutoFormSubmit>