| {h} | {/each}||||||
|---|---|---|---|---|---|---|
|
{p.name}
{#if p.prs_name && p.prs_name !== p.name}
PRS: {p.prs_name}
{/if}
|
{p.manufacturer || '—'} | {p.channel_count} | {p.creator_handle || '—'} | {formatDate(p.created_at)} | {#if p.deleted_at} Deleted {formatDate(p.deleted_at)} {:else} Live {/if} |
{#if !p.deleted_at}
{#if editingId === p.id}
{:else}
{/if}
{/if}
|
|
Editing: {p.name}
{#if editError}
{editError}
{/if}
Replace Binary (.prs file)
{#if replaceId !== p.id || !replacePreview}
Current: {p.channel_count}ch · PRS name: {p.prs_name || '(none)'}
{/if}
{#if replaceId === p.id && replacePreview}
Change Summary
Field
Current
Incoming
PRS Name
{replacePreview.current.prs_name || '—'}
{replacePreview.incoming.prs_name || '—'}
{#if replacePreview.incoming.prs_name !== replacePreview.current.prs_name}
← changed
{/if}
Channels
{replacePreview.current.channel_count}
{replacePreview.incoming.channel_count}
{#if replacePreview.incoming.channel_count !== replacePreview.current.channel_count}
← changed
{/if}
{#if replaceError}
{replaceError}
{/if}
{/if}
{#if replaceError && !replacePreview}
{replaceError}
{/if}
|
||||||