condense scoreboard
This commit is contained in:
parent
177fec75b7
commit
71bd306ffb
1 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue