there it is

This commit is contained in:
Luciano Laratelli 2025-04-11 16:05:39 -04:00
parent 7589b3d493
commit 9e4fa6e1a2

View file

@ -101,7 +101,7 @@
(into [:tbody]
(for [p players
:let [{:player/keys [play_order game_score]} p]]
:let [{:player/keys [play_order game_score round_score]} p]]
[:tr
[:th {:scope "row"} [:div
@ -119,7 +119,11 @@
[:td [:div
{:id (str "player" "-" play_order "-game-score")}
game_score]]]))]]))
game_score
(when
(= (:player/play_order p) current-player)
[:span.pico-color-jade-600
(str " (this round:" round_score ")")])]]]))]]))
(defn game [ds c]
(jdbc/execute-one! ds (sql/format {:select :*