fix: Unable to modify the location of a booking when rescheduling (#11651)

This commit is contained in:
kremedev authored and GitHub committed 2023-10-20 09:00:00 +02:00
1 parent e2414b174a
commit 19eced00f5
2 files changed
+64 -11

No files matched your search

@@ -77,6 +77,13 @@ export const BookingFields = ({
return null;
}
// Attendee location field can be edited during reschedule
if (field.name === SystemField.Enum.location) {
if (locationResponse?.value === "attendeeInPerson" || "phone") {
readOnly = false;
}
}
// Dynamically populate location field options
if (field.name === SystemField.Enum.location && field.type === "radioInput") {
if (!field.optionsInputs) {