mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
feat: add timer to deployments
This commit is contained in:
+3
@@ -39,6 +39,7 @@
|
||||
import { page } from '$app/stores';
|
||||
import Output from '$lib/components/output.svelte';
|
||||
import { calculateTime } from '$lib/helpers/timeConversion';
|
||||
import { timer } from '$lib/actions/timer';
|
||||
|
||||
export let data: PageData;
|
||||
|
||||
@@ -190,6 +191,8 @@
|
||||
<TableCellText title="Build Time">
|
||||
{#if deployment.status === 'ready'}
|
||||
{calculateTime(deployment.buildTime)}
|
||||
{:else}
|
||||
<span use:timer={{ start: deployment.$createdAt }} />
|
||||
{/if}
|
||||
</TableCellText>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user