diff --git a/web/src/lib/components/admin-page/jobs/job-tile.svelte b/web/src/lib/components/admin-page/jobs/job-tile.svelte index dda9e0149a..e23e33a525 100644 --- a/web/src/lib/components/admin-page/jobs/job-tile.svelte +++ b/web/src/lib/components/admin-page/jobs/job-tile.svelte @@ -8,6 +8,7 @@ export let jobStatus: boolean; export let waitingJobCount: number; export let activeJobCount: number; + const dispatch = createEventDispatcher(); @@ -36,8 +37,20 @@ > {jobStatus ? 'Active' : 'Idle'} - {activeJobCount} - {waitingJobCount} + + {#if activeJobCount !== undefined} + {activeJobCount} + {:else} + + {/if} + + + {#if waitingJobCount !== undefined} + {waitingJobCount} + {:else} + + {/if} +