From ea178d18bc22ecf468b22da44799d407b27c215a Mon Sep 17 00:00:00 2001 From: Therisa Tran <146353301+ttran-Therisa@users.noreply.github.com> Date: Tue, 8 Oct 2024 13:00:01 -0400 Subject: [PATCH] PR: QA Fixes #783,#784, #19413 (#788) --- src/templates/layouts/event/index.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/templates/layouts/event/index.tsx b/src/templates/layouts/event/index.tsx index 61faf7088..8a8a8a2b5 100644 --- a/src/templates/layouts/event/index.tsx +++ b/src/templates/layouts/event/index.tsx @@ -196,14 +196,16 @@ export const Event = ({ )} {/* Registration */} - {registrationRequired && ( + {registrationRequired && eventCTA && (

{eventCTA == 'register' && Registration:} - {eventCTA == 'apply' && Apply:} + {eventCTA == 'apply' && Application:} {eventCTA == 'rsvp' && RSVP:}

-

Required

+ {eventCTA != 'more_details' && ( +

Required

+ )}
)}
@@ -228,7 +230,7 @@ export const Event = ({ {link && (

- {eventCTA + {eventCTA && eventCTA != 'more_details' ? eventCTA.toLowerCase() === 'rsvp' ? eventCTA.toUpperCase() : eventCTA.charAt(0).toUpperCase() + eventCTA.slice(1)