{summary}

{#if !items.length}

No migrations started yet.

{:else} {#if bannerVisible && isRunning}
(bannerVisible = false)} />
{/if}
{#each items as item (item.id)} {@const m = item.migration} {@const failed = itemFailed(item)} {@const errorId = `migration-error-${item.id}`} {#snippet error()}
{#if m.status === "error"}

{m.error}

{:else if needsGrant(item)}

The migrator lost access to your Tangled or GitHub account. Authorize it again, then retry this migration.

{:else}

Unable to migrate this repository. Retry the migration.

{#if m.jobError}

{m.jobError}

{/if} {/if}
{/snippet} {#snippet action()} {#if needsGrant(item) && onAuthorize} {:else if failed && onRetry} {/if} {/snippet}
{/each}
{#if onAuthorize && !rowAuthorize} {/if}
{/if}