From c232f7acfcae3461da83a3ffc372a8bd4c547330 Mon Sep 17 00:00:00 2001 From: Hariom Balhara Date: Mon, 13 Feb 2023 12:02:41 +0530 Subject: [PATCH] More fixes discovered during review --- .../config/config.tsx | 2 +- .../react-awesome-query-builder/widgets.tsx | 5 +---- .../embeds/embed-core/src/embed-iframe.ts | 3 +-- .../features/bookings/lib/getBookingFields.ts | 19 +++++++++---------- .../components/EventWorkflowsTab.tsx | 2 -- .../features/form-builder/FormBuilder.tsx | 7 ++++++- packages/types/Calendar.d.ts | 4 ++++ 7 files changed, 22 insertions(+), 20 deletions(-) diff --git a/packages/app-store/ee/routing-forms/components/react-awesome-query-builder/config/config.tsx b/packages/app-store/ee/routing-forms/components/react-awesome-query-builder/config/config.tsx index 9c982b1576..808bdcee30 100644 --- a/packages/app-store/ee/routing-forms/components/react-awesome-query-builder/config/config.tsx +++ b/packages/app-store/ee/routing-forms/components/react-awesome-query-builder/config/config.tsx @@ -92,7 +92,7 @@ const widgets: Widgets & { [key in keyof Widgets]: Widgets[key] & { type: string if (!props) { return
; } - // TODO: Use EmailField component + // TODO: Use EmailField component for Routing Form Email field return ; }, }, diff --git a/packages/app-store/ee/routing-forms/components/react-awesome-query-builder/widgets.tsx b/packages/app-store/ee/routing-forms/components/react-awesome-query-builder/widgets.tsx index 80c8ee08d6..dbd40adafa 100644 --- a/packages/app-store/ee/routing-forms/components/react-awesome-query-builder/widgets.tsx +++ b/packages/app-store/ee/routing-forms/components/react-awesome-query-builder/widgets.tsx @@ -4,10 +4,7 @@ import { ButtonProps, ConjsProps, FieldProps, - NumberWidgetProps, ProviderProps, - SelectWidgetProps, - TextWidgetProps, } from "react-awesome-query-builder"; import { Button as CalButton, Input, SelectWithValidation as Select, TextArea, TextField } from "@calcom/ui"; @@ -82,7 +79,7 @@ const TextAreaWidget = (props: TextLikeComponentPropsRAQB) => { const textValue = value || ""; return ( -