{#if commanders.length > 0}
{#each commanders as commander}

{commander.name}

{#if archived} Archived {/if}
{#each getColorIcons(commander.colors) as icon} {`${icon.id} {/each}
{commander.totalGames || 0}
Games Played
{Number(commander.winRate || 0).toFixed(1)}%
Win Rate
{Number(commander.avgRounds || 0).toFixed(1)}
Avg Rounds
Added
{formatDate(commander.createdAt)}
{/each}
{/if}