From c0b667501621872ce362b1d43a265fb9cc29befc Mon Sep 17 00:00:00 2001 From: Jacob Namhyung Kim <87889917+everywherejacobkim@users.noreply.github.com> Date: Sat, 20 Jul 2024 22:01:07 -0700 Subject: [PATCH] Fix rsvp btn (#64) * Fix sold out button condition * made BBQ event rsvp btn disable * Made bbq event action btn disabled * clean up * Update * update btn condition --- src/lib/components/EventCard.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/EventCard.svelte b/src/lib/components/EventCard.svelte index 7dfbb66..93d376a 100644 --- a/src/lib/components/EventCard.svelte +++ b/src/lib/components/EventCard.svelte @@ -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}`}>