Skip to content

Commit

Permalink
Merge pull request #1583 from appwrite/fix-hide-cancel-deployment
Browse files Browse the repository at this point in the history
Fix cancel shown on failed builds
  • Loading branch information
ItzNotABug authored Jan 2, 2025
2 parents 02803fe + d5b50f2 commit 93cece9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
<Code lang="text" code={buildLogs.replace(/\\n/g, '\n')} />
</div> -->
<Layout.Stack alignItems="flex-end">
{#if status !== 'ready'}
{#if ['processing', 'building'].includes(status)}
<Button size="xs" text on:click={cancelDeployment}>Cancel deployment</Button>
{/if}
</Layout.Stack>
Expand Down

0 comments on commit 93cece9

Please sign in to comment.