fix: destination calendar selection resetting to default on page reload (#13440)

* fix: destination calendar selection resetting to default on page reload

* fix: duplicate destination calendar settings on duplicate event

* fix: zod error in test

---------

Co-authored-by: Udit Takkar <[email protected]>
This commit is contained in:
Somay ChauhanandUdit Takkar authored and GitHub committed 2024-01-29 10:03:26 +00:00
1 parent 8bc265faaa
commit 43c1bd63ca
3 files changed
+19 -4

No files matched your search

@@ -268,6 +268,7 @@ const EventTypePage = (props: EventTypeSetupProps) => {
seatsShowAvailabilityCount: eventType.seatsShowAvailabilityCount,
lockTimeZoneToggleOnBookingPage: eventType.lockTimeZoneToggleOnBookingPage,
locations: eventType.locations || [],
destinationCalendar: eventType.destinationCalendar,
recurringEvent: eventType.recurringEvent || null,
isInstantEvent: eventType.isInstantEvent,
description: eventType.description ?? undefined,