From f37d2503b7aecaeb4cf4450b5fe0bfbebc994d6f Mon Sep 17 00:00:00 2001 From: Sean Date: Wed, 17 Apr 2024 17:53:04 -0700 Subject: [PATCH] Show feedback form immediately when checked into event --- src/pages/events/[uuid].tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pages/events/[uuid].tsx b/src/pages/events/[uuid].tsx index 2834e392..f7ed91b0 100644 --- a/src/pages/events/[uuid].tsx +++ b/src/pages/events/[uuid].tsx @@ -38,7 +38,10 @@ const EventPage = ({ token, event, attended, feedback: initFeedback }: EventPage ); - } else if (started && token) { + } else if ((started || attended) && token) { + // People can check in before the event starts, and the check-in modal + // prompts them to add feedback. If they click "Add feedback" before the + // event starts, it should still let them give feedback feedbackForm = ( );