{#if previousSets} {/if} {#each mainMetrics as metric (metric)} {/each} {#if editable && hasRpe} {/if} {#if editable} {/if} {#each sets as set, i (i)} {#if previousSets} {/if} {#each mainMetrics as metric (metric)} {/each} {#if editable && hasRpe} {/if} {#if editable} {/if} {/each}
SETPREVIOUS{METRIC_LABELS[metric]}RPE
{i + 1} {#if previousSets[i]} {formatPrev(previousSets[i])} {:else} — {/if} {#if editable} handleInput(i, metric, e)} /> {:else} {set[metric] ?? '—'} {/if} handleInput(i, 'rpe', e)} />