there it is
This commit is contained in:
parent
7589b3d493
commit
9e4fa6e1a2
1 changed files with 6 additions and 2 deletions
|
|
@ -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 :*
|
||||
|
|
|
|||
Loading…
Reference in a new issue