Skip to content

Commit 57921bf

Browse files
committed
Disable button when request is active
1 parent 0c763d7 commit 57921bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/routes/(authenticated)/git/authorize-contributor

src/routes/(authenticated)/git/authorize-contributor/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@
5353
The deployment for pull request #{data.providerPullRequestId}
5454
is awaiting approval. When authorized, deployments will be started.
5555
</Typography.Title>
56-
<Button on:click={approveDeployment} secondary>Approve Deployment</Button>
56+
<Button on:click={approveDeployment} secondary disabled={loading}>Approve Deployment</Button>
5757
</Layout.Stack>

0 commit comments

Comments
 (0)