diff --git a/apps/web/components/booking/pages/AvailabilityPage.tsx b/apps/web/components/booking/pages/AvailabilityPage.tsx index c9f864ca31..79cb4a9e75 100644 --- a/apps/web/components/booking/pages/AvailabilityPage.tsx +++ b/apps/web/components/booking/pages/AvailabilityPage.tsx @@ -252,56 +252,64 @@ const AvailabilityPage = ({ profile, plan, eventType, workingHours, previousPage
-
- {Object.values(AppStoreLocationType).includes(
- eventType.locations[0].type as unknown as AppStoreLocationType
- ) ? (
-
+
+ {Object.values(AppStoreLocationType).includes(
+ eventType.locations[0].type as unknown as AppStoreLocationType
+ ) ? (
+
+
-
- {t("former_time")} -
-
-
+ {t("former_time")} +
+
+
-
- {Object.values(AppStoreLocationType).includes(
- eventType.locations[0].type as unknown as AppStoreLocationType
- ) ? (
-
{eventType.description}
- {eventType.locations.map((el, i, arr) => { - return ( - - {locationKeyToString(el, t)}{" "} - {arr.length - 1 !== i && ( - {t("or_lowercase")} - )} - - ); - })} + )} + {eventType.locations.length === 1 && ( +
+ {Object.values(AppStoreLocationType).includes(
+ eventType.locations[0].type as unknown as AppStoreLocationType
+ ) ? (
+
-
- {t("every_for_freq", { - freq: t( - `${RRuleFrequency[eventType.recurringEvent.freq].toString().toLowerCase()}` - ), - })} -
- { - setRecurringEventCount(parseInt(event?.target.value)); - }} - /> -- {t(`${RRuleFrequency[eventType.recurringEvent.freq].toString().toLowerCase()}`, { - count: recurringEventCount, - })} -
-
-
+ {eventType.locations.map((el, i, arr) => { + return ( + + {locationKeyToString(el, t)}{" "} + {arr.length - 1 !== i && ( + {t("or_lowercase")} + )} + + ); + })} +
+
+
+ {t("every_for_freq", { + freq: t( + `${RRuleFrequency[eventType.recurringEvent.freq].toString().toLowerCase()}` + ), + })} +
+ { + setRecurringEventCount(parseInt(event?.target.value)); + }} + /> ++ {t(`${RRuleFrequency[eventType.recurringEvent.freq].toString().toLowerCase()}`, { + count: recurringEventCount, + })} +
+
+