From 621f7639ff04e60f2fb0a81a4beffa601dc069c5 Mon Sep 17 00:00:00 2001 From: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> Date: Mon, 13 Nov 2023 19:29:50 +0530 Subject: [PATCH] fix: display organizer location after booking (#12088) Co-authored-by: Hariom Balhara --- .../components/eventtype/EventSetupTab.tsx | 14 +-- apps/web/playwright/event-types.e2e.ts | 97 ++++++++++++++++++- packages/app-store/locations.ts | 8 ++ .../BookEventForm/BookingFields.tsx | 24 +++++ .../form-builder/FormBuilderField.tsx | 5 +- 5 files changed, 133 insertions(+), 15 deletions(-) diff --git a/apps/web/components/eventtype/EventSetupTab.tsx b/apps/web/components/eventtype/EventSetupTab.tsx index d9b2c066e1..ba36876dca 100644 --- a/apps/web/components/eventtype/EventSetupTab.tsx +++ b/apps/web/components/eventtype/EventSetupTab.tsx @@ -8,7 +8,7 @@ import { Controller, useFormContext, useFieldArray } from "react-hook-form"; import type { MultiValue } from "react-select"; import type { EventLocationType } from "@calcom/app-store/locations"; -import { getEventLocationType, LocationType, MeetLocationType } from "@calcom/app-store/locations"; +import { getEventLocationType, MeetLocationType } from "@calcom/app-store/locations"; import useLockedFieldsManager from "@calcom/features/ee/managed-event-types/hooks/useLockedFieldsManager"; import { useOrgBranding } from "@calcom/features/ee/organizations/context/provider"; import { CAL_URL } from "@calcom/lib/constants"; @@ -247,15 +247,7 @@ export const EventSetupTab = (