mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: timer not stopping when failed
This commit is contained in:
+3
-3
@@ -189,10 +189,10 @@
|
||||
</TableCell>
|
||||
|
||||
<TableCellText title="Build Time">
|
||||
{#if deployment.status === 'ready'}
|
||||
{calculateTime(deployment.buildTime)}
|
||||
{:else}
|
||||
{#if ['processing', 'building'].includes(deployment.status)}
|
||||
<span use:timer={{ start: deployment.$createdAt }} />
|
||||
{:else}
|
||||
{calculateTime(deployment.buildTime)}
|
||||
{/if}
|
||||
</TableCellText>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user