feat: Redirect when event type does not match booking type (#14460)

* feat: Redirect when event type does not match booking type

* Favour early return

* If multiple bookingUid/rescheduleUid given, use first

* rescheduleUid/bookingUid behaviour is required
This commit is contained in:
Alex van Andel authored and GitHub committed 2024-05-08 10:33:22 -03:00
1 parent 5d7b2a12a7
commit c5bd45fdfb
5 files changed
+152 -55

No files matched your search

@@ -41,7 +41,9 @@ const LicenseRequired = ({ children, as = "", ...rest }: LicenseRequiredProps) =
title={
<>
{t("enterprise_license_locally")} {t("enterprise_license_sales")}{" "}
<a className="underline" href="https://cal.com/sales">{t("contact_sales")}</a>
<a className="underline" href="https://cal.com/sales">
{t("contact_sales")}
</a>
</>
}
/>