qa: Arrange team color
This commit is contained in:
parent
051d62a5fa
commit
38fa6ec1de
@ -42,7 +42,16 @@
|
||||
<tr on:click={() => show(team.id)} style="cursor: pointer">
|
||||
{#each fields as field}
|
||||
<td class:text-end={field == "image"}>
|
||||
{team[field]}
|
||||
{#if field == "color"}
|
||||
<div
|
||||
class="badge"
|
||||
style={"background-color: " + team.toHexColor()}
|
||||
>
|
||||
{team.toHexColor()}
|
||||
</div>
|
||||
{:else}
|
||||
{team[field]}
|
||||
{/if}
|
||||
</td>
|
||||
{/each}
|
||||
</tr>
|
||||
|
Loading…
Reference in New Issue
Block a user