Skip to content

Commit

Permalink
Fix sold out button condition
Browse files Browse the repository at this point in the history
  • Loading branch information
everywherejacobkim committed Jul 21, 2024
1 parent 12df4e3 commit a4c53d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/EventCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
? 'CLOSED'
: $eventAnalyticsStore === undefined
? 'loading...'
: ticketsLeft < 0 && !event.joinLink
: ticketsLeft < 0
? 'SOLD OUT'
: 'RSVP'}
</Button>
Expand Down

0 comments on commit a4c53d3

Please sign in to comment.