{#if ordered.length}
{#each ordered as entry (entry.id)}
onselect?.(entry)} disabled={!onselect} >
{fmtTime(entry.startTs, rounding)}–{entry.endTs == null ? '…' : fmtTime(entry.endTs, rounding)}
{fmtDuration(duration(entry))}
{entry.kind === 'break' && entry.task !== 'Pause' ? `Pause · ${entry.task}` : entry.task}
{#if entry.automatic}
Auto
{/if} {#if entry.client}
{entry.client}
{/if}
{#if onselect}
✎
{/if}
{/each}
{/if}