Skip to content

Commit 901fc0b

Browse files
committed
Minor fixes
1 parent 576c72c commit 901fc0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib/components/jobs/JobsList.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@
322322
{projects.find((project) => project.id === row.project_id)?.name}
323323
</a>
324324
{:else}
325-
-
325+
{projects.find((project) => project.id === row.project_id)?.name || '-'}
326326
{/if}
327327
</td>
328328
{/if}

src/routes/admin/jobs/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@
422422
</button>
423423
</svelte:fragment>
424424
<svelte:fragment slot="edit-status" let:row>
425-
{#if row.status !== 'failed'}
425+
{#if row.status === 'submitted' || row.status === 'running'}
426426
&nbsp;
427427
<button class="btn btn-link p-0" on:click={() => openEditStatusModal(row)}>
428428
<i class="bi bi-pencil" />

0 commit comments

Comments
 (0)