From a4c53d31467c5247b7c9b4195e8b3a96ef02162b Mon Sep 17 00:00:00 2001
From: Jacob Namhyung Kim
<87889917+everywherejacobkim@users.noreply.github.com>
Date: Sat, 20 Jul 2024 21:21:07 -0700
Subject: [PATCH 1/5] Fix sold out button 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 9a0b8ea..9d8be03 100644
--- a/src/lib/components/EventCard.svelte
+++ b/src/lib/components/EventCard.svelte
@@ -65,7 +65,7 @@
? 'CLOSED'
: $eventAnalyticsStore === undefined
? 'loading...'
- : ticketsLeft < 0 && !event.joinLink
+ : ticketsLeft < 0
? 'SOLD OUT'
: 'RSVP'}
From 79de2d83cf2a38834525ee33ebb2a07478c84995 Mon Sep 17 00:00:00 2001
From: Jacob Namhyung Kim
<87889917+everywherejacobkim@users.noreply.github.com>
Date: Sat, 20 Jul 2024 21:32:58 -0700
Subject: [PATCH 2/5] made BBQ event rsvp btn disable
---
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 9d8be03..e265ad8 100644
--- a/src/lib/components/EventCard.svelte
+++ b/src/lib/components/EventCard.svelte
@@ -56,7 +56,7 @@
{#if event.id}
{#if event.id}
{isPastEvent