mozrest-sdk-react-dev 0.3.28 → 0.3.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/mozrest-sdk.es.js +3 -3
- package/package.json +1 -1
package/mozrest-sdk.es.js
CHANGED
|
@@ -132269,7 +132269,7 @@ const ReservationPreferencesCard = ({
|
|
|
132269
132269
|
style: {
|
|
132270
132270
|
textAlign: "left"
|
|
132271
132271
|
},
|
|
132272
|
-
children: [(venueData == null ? void 0 : venueData.minAdvanceBooking) ? `${venueData == null ? void 0 : venueData.minAdvanceBooking} min` : "-", " "]
|
|
132272
|
+
children: [(venueData == null ? void 0 : venueData.minAdvanceBooking) ? `${(venueData == null ? void 0 : venueData.minAdvanceBooking) / 60} min` : "-", " "]
|
|
132273
132273
|
})]
|
|
132274
132274
|
}), /* @__PURE__ */ jsxs("div", {
|
|
132275
132275
|
style: {
|
|
@@ -132390,7 +132390,7 @@ const ReservationPreferencesEditDrawer = ({
|
|
|
132390
132390
|
};
|
|
132391
132391
|
const toSendToVenue = {
|
|
132392
132392
|
maxCovers: data22.maxPartySize,
|
|
132393
|
-
minAdvanceBooking: data22.minAdvanceBooking
|
|
132393
|
+
minAdvanceBooking: data22.minAdvanceBooking * 60
|
|
132394
132394
|
};
|
|
132395
132395
|
await execute({
|
|
132396
132396
|
data: toSend,
|
|
@@ -132415,7 +132415,7 @@ const ReservationPreferencesEditDrawer = ({
|
|
|
132415
132415
|
maxWelcomeSlot: data2.maxWelcomeSlot,
|
|
132416
132416
|
slotDuration: data2.slotDuration,
|
|
132417
132417
|
maxPartySize: venueData == null ? void 0 : venueData.maxCovers,
|
|
132418
|
-
minAdvanceBooking: venueData == null ? void 0 : venueData.minAdvanceBooking
|
|
132418
|
+
minAdvanceBooking: (venueData == null ? void 0 : venueData.minAdvanceBooking) ? (venueData == null ? void 0 : venueData.minAdvanceBooking) / 60 : 0
|
|
132419
132419
|
});
|
|
132420
132420
|
} else {
|
|
132421
132421
|
reset(defaultValue2);
|