Fixing availability for MET (#8662)

* Fixing availability for MET

* Removing unneeded code

* Fixing unit tests

* Lint fixes

---------

Co-authored-by: Joe Au-Yeung <[email protected]>
This commit is contained in:
Leo GiovanettiandJoe Au-Yeung authored and GitHub committed 2023-05-09 11:15:13 -03:00
1 parent 94917dbb1e
commit 90c1270e3d
4 files changed
+96 -86

No files matched your search

+2 -2
View File
@@ -517,7 +517,7 @@ export const allManagedEventTypeProps: { [k in keyof Omit<Prisma.EventTypeSelect
periodCountCalendarDays: true,
bookingLimits: true,
slotInterval: true,
schedule: true,
scheduleId: true,
workflows: true,
bookingFields: true,
durationLimits: true,
@@ -526,5 +526,5 @@ export const allManagedEventTypeProps: { [k in keyof Omit<Prisma.EventTypeSelect
// All properties that are defined as unlocked based on all managed props
// Eventually this is going to be just a default and the user can change the config through the UI
export const unlockedManagedEventTypeProps = {
...pick(allManagedEventTypeProps, ["locations", "schedule", "destinationCalendar"]),
...pick(allManagedEventTypeProps, ["locations", "scheduleId", "destinationCalendar"]),
};