From 6b0e8db4967848cfff7b15fe8d11f9a4aeb53f4a Mon Sep 17 00:00:00 2001 From: sean-brydon <55134778+sean-brydon@users.noreply.github.com> Date: Tue, 29 Mar 2022 17:59:22 +0100 Subject: [PATCH] Adding checkbox to toggle hideNotes (#2310) --- apps/web/pages/event-types/[type].tsx | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/apps/web/pages/event-types/[type].tsx b/apps/web/pages/event-types/[type].tsx index fcf3773f81..825bc720b7 100644 --- a/apps/web/pages/event-types/[type].tsx +++ b/apps/web/pages/event-types/[type].tsx @@ -424,6 +424,7 @@ const EventTypePage = (props: inferSSRProps) => { schedulingType: SchedulingType | null; price: number; hidden: boolean; + hideCalendarNotes: boolean; locations: { type: LocationType; address?: string; link?: string }[]; customInputs: EventTypeCustomInput[]; users: string[]; @@ -1228,6 +1229,24 @@ const EventTypePage = (props: inferSSRProps) => { + ( + { + formMethods.setValue("hideCalendarNotes", e?.target.checked); + }} + /> + )} + /> + periodEndDate: true, periodCountCalendarDays: true, requiresConfirmation: true, + hideCalendarNotes: true, disableGuests: true, minimumBookingNotice: true, beforeEventBuffer: true,