@gomusdev/web-components 1.26.1 → 1.26.2
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.
|
@@ -31729,9 +31729,10 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
|
|
|
31729
31729
|
"by_ticket_ids[]": tsd.ticketIds,
|
|
31730
31730
|
"by_ticket_group_ids[]": tsd.ticketGroupIds
|
|
31731
31731
|
}));
|
|
31732
|
-
|
|
31733
|
-
|
|
31734
|
-
|
|
31732
|
+
let timeslot;
|
|
31733
|
+
if (quotas && Object.values(quotas).length > 0 && Object.keys(Object.values(quotas)[0].capacities).length > 0) {
|
|
31734
|
+
timeslot = Object.keys(Object.values(quotas)[0].capacities)[0];
|
|
31735
|
+
}
|
|
31735
31736
|
shop.capacityManager.addQuotas(quotas);
|
|
31736
31737
|
const uiTickets = initUITimeslotTickets(tickets, timeslot);
|
|
31737
31738
|
segment.preCart = createCart(uiTickets);
|
|
@@ -31729,9 +31729,10 @@ async function loadDayTickets(segment) {
|
|
|
31729
31729
|
"by_ticket_ids[]": tsd.ticketIds,
|
|
31730
31730
|
"by_ticket_group_ids[]": tsd.ticketGroupIds
|
|
31731
31731
|
}));
|
|
31732
|
-
|
|
31733
|
-
|
|
31734
|
-
|
|
31732
|
+
let timeslot;
|
|
31733
|
+
if (quotas && Object.values(quotas).length > 0 && Object.keys(Object.values(quotas)[0].capacities).length > 0) {
|
|
31734
|
+
timeslot = Object.keys(Object.values(quotas)[0].capacities)[0];
|
|
31735
|
+
}
|
|
31735
31736
|
shop.capacityManager.addQuotas(quotas);
|
|
31736
31737
|
const uiTickets = initUITimeslotTickets(tickets, timeslot);
|
|
31737
31738
|
segment.preCart = createCart(uiTickets);
|