diff --git a/dashboard/src/routes/downloads/+page.svelte b/dashboard/src/routes/downloads/+page.svelte index c0781c19..c69c7635 100644 --- a/dashboard/src/routes/downloads/+page.svelte +++ b/dashboard/src/routes/downloads/+page.svelte @@ -469,11 +469,11 @@ {#if cell.kind === "completed"}
@@ -483,18 +483,18 @@ clip-rule="evenodd" > - {formatBytes(cell.totalBytes)}
{:else if cell.kind === "pending"}
0 - ? `${formatBytes(cell.downloaded)} / ${formatBytes(cell.total)} downloaded` + ? `${formatBytes(cell.downloaded)} / ${formatBytes(cell.total)} downloaded (paused)` : "Download pending"} > {#if cell.downloaded > 0 && cell.total > 0} - {formatBytes(cell.downloaded)} / {formatBytes( cell.total, )}
- paused + startDownload(col.nodeId, row.shardMetadata!)} + title="Resume download on this node" + > + + + + + {:else} + paused + {/if} + {:else if row.shardMetadata} + {:else} ... @@ -568,11 +614,11 @@
{:else if cell.kind === "failed"}
@@ -585,13 +631,13 @@ {#if row.shardMetadata}