{info.filename}
{#if info.state === "running"}
{#each info.pipeline as task}
{/each}
{/if}
{#if info.state === "done"}
{/if} {#if info.state === "error" && !retrying}
{/if} {#if info.state === "running" || retrying}
{/if}
{statusText}
{#if info.state === "done" && info.resultFile}
download(info.resultFile)} disabled={downloading} class:downloading > {#if !downloading}
{:else}
{/if}
{/if} {#if !retrying} {#if info.state === "error" && info?.canRetry}
retry(info)} >
{/if}
removeItem(id)} disabled={downloading} >
{/if}