condense scoreboard

This commit is contained in:
Adam 2024-09-04 17:20:22 -04:00
parent 177fec75b7
commit 71bd306ffb

View file

@ -28,7 +28,6 @@ fn Scoreboard() -> impl IntoView {
<th></th>
<th></th>
<th>"Score"</th>
<th></th>
</tr>
</thead>
{game_meta()
@ -41,8 +40,10 @@ fn Scoreboard() -> impl IntoView {
<td>
{if game_meta().unwrap().czar == player.name {
"👑"
} else if player.submitted {
"🟢"
} else {
""
""
}}
</td>
<td>
@ -53,7 +54,6 @@ fn Scoreboard() -> impl IntoView {
}} {player.name}
</td>
<td class="text-center">{player.score}</td>
<td>{if player.submitted { "🟢" } else { "" }}</td>
</tr>
}
})