Fixes undefined link in opt-in email
This commit is contained in:
@@ -16,9 +16,8 @@ export const OrganizerRequestEmail = (props: React.ComponentProps<typeof Organiz
|
||||
<CallToAction
|
||||
label={props.calEvent.organizer.language.translate("confirm_or_reject_request")}
|
||||
href={
|
||||
process.env.NEXT_PUBLIC_WEBAPP_URL + props.calEvent.recurringEvent?.count
|
||||
? "/bookings/recurring"
|
||||
: "/bookings/upcoming"
|
||||
process.env.NEXT_PUBLIC_WEBAPP_URL +
|
||||
(props.calEvent.recurringEvent?.count ? "/bookings/recurring" : "/bookings/upcoming")
|
||||
}
|
||||
/>
|
||||
</CallToActionTable>
|
||||
|
||||
Reference in New Issue
Block a user