From 71bd306ffb80cdd2a1b4e1c5a326456cb39f9f26 Mon Sep 17 00:00:00 2001 From: Adam <24621027+adoyle0@users.noreply.github.com> Date: Wed, 4 Sep 2024 17:20:22 -0400 Subject: [PATCH] condense scoreboard --- client/src/components/game/header.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/components/game/header.rs b/client/src/components/game/header.rs index e82a553..664d31b 100644 --- a/client/src/components/game/header.rs +++ b/client/src/components/game/header.rs @@ -28,7 +28,6 @@ fn Scoreboard() -> impl IntoView { "Score" - {game_meta() @@ -41,8 +40,10 @@ fn Scoreboard() -> impl IntoView { {if game_meta().unwrap().czar == player.name { "👑" + } else if player.submitted { + "🟢" } else { - "" + "⚫" }} @@ -53,7 +54,6 @@ fn Scoreboard() -> impl IntoView { }} {player.name} {player.score} - {if player.submitted { "🟢" } else { "⚫" }} } })