Merge pull request #1583 from appwrite/fix-hide-cancel-deployment

Fix cancel shown on failed builds
This commit is contained in:
Darshan authored and GitHub committed 2025-01-02 17:57:10 +05:30
commit 93cece920d
1 file changed
+1 -1
@@ -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>