Skip to content

Commit

Permalink
Fix rsvp btn (#64)
Browse files Browse the repository at this point in the history
* Fix sold out button condition

* made BBQ event rsvp btn disable

* Made bbq event action btn disabled

* clean up

* Update

* update btn condition
  • Loading branch information
everywherejacobkim authored Jul 21, 2024
1 parent 9de6c40 commit c0b6675
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 @@ -58,7 +58,7 @@
on:click={(e) => e.stopImmediatePropagation()}
disabled={!isPastEvent ||
$eventAnalyticsStore === undefined ||
ticketsLeft < 0 ||
ticketsLeft <= 0 ||
event.id === 'recmVKh6OgGcv8itV'}
class="rounded-full"
href={event.joinLink ? event.joinLink : `/checkout/${event.id}`}>
Expand Down

0 comments on commit c0b6675

Please sign in to comment.