Skip to content

Commit

Permalink
Fix capacity display
Browse files Browse the repository at this point in the history
  • Loading branch information
plexus committed Sep 16, 2024
1 parent c9c6bf1 commit efb568c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/co/gaiwan/compass/html/sessions.clj
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@
[:div.large (:location/name location)]]
[:div.capacity
[:div.small "Spots available"]
[:div.large (min 0 (- (or capacity 0) (or signup-count 0)))]]
[:div.large (max 0 (- (or capacity 0) (or signup-count 0)))]]
#_[:div
[:p.small "Ticket required"]
(if (:session/ticket-required? session)
Expand Down

0 comments on commit efb568c

Please sign in to comment.