{model?.rating !== '-' ? modelIdx + 1 : '-'}
|
|
{model.rating}
|
{#if model.stats.won === '-'}
-
{:else}
{((model.stats.won / model.stats.count) * 100).toFixed(1)}%
{model.stats.won}
{/if}
|
{#if model.stats.lost === '-'}
-
{:else}
{((model.stats.lost / model.stats.count) * 100).toFixed(1)}%
{model.stats.lost}
{/if}
|
{/each}