Skip to content

Commit

Permalink
Merge branch 'main' into Fix-rsvp-btn
Browse files Browse the repository at this point in the history
  • Loading branch information
everywherejacobkim authored Jul 21, 2024
2 parents 39eda87 + 9de6c40 commit cb385d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/components/EventCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
{#if event.id}
<Button
on:click={(e) => e.stopImmediatePropagation()}
disabled={isPastEvent ||
disabled={!isPastEvent ||
$eventAnalyticsStore === undefined ||
ticketsLeft <= 0 ||
event.id === 'recmVKh6OgGcv8itV'}
Expand All @@ -66,7 +66,7 @@
? 'CLOSED'
: $eventAnalyticsStore === undefined
? 'loading...'
: ticketsLeft < 0 && !event.joinLink
: ticketsLeft < 0
? 'SOLD OUT'
: 'RSVP'}
</Button>
Expand Down

0 comments on commit cb385d6

Please sign in to comment.