qa: Arrange team color

This commit is contained in:
nemunaire 2024-09-18 11:38:41 +02:00
parent 051d62a5fa
commit 38fa6ec1de

View File

@ -42,7 +42,16 @@
<tr on:click={() => show(team.id)} style="cursor: pointer">
{#each fields as field}
<td class:text-end={field == "image"}>
{#if field == "color"}
<div
class="badge"
style={"background-color: " + team.toHexColor()}
>
{team.toHexColor()}
</div>
{:else}
{team[field]}
{/if}
</td>
{/each}
</tr>