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

This commit is contained in:
Emmanuel Morales 2024-02-15 00:39:20 -06:00 committed by GitHub
parent 01e8668d1a
commit ace12efd1a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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>