diff --git a/src/lib/components/JobErrorLine.svelte b/src/lib/components/JobErrorLine.svelte index 9f0b689..8b35e31 100644 --- a/src/lib/components/JobErrorLine.svelte +++ b/src/lib/components/JobErrorLine.svelte @@ -5,7 +5,7 @@ job: Job; accentColor: string; onRetry?: (jobId: string) => void; - onDelete?: () => void; + onDelete?: (jobId: string) => void; retryLabel?: string; deleteLabel?: string; } @@ -33,7 +33,7 @@ {/if} {#if onDelete} - + {/if} {:else if job.status === 'cancelled'}