iticket-seatingplan-dev 1.2.9 → 1.3.0
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.
|
@@ -142,7 +142,7 @@ const SeatingPlan = _ref => {
|
|
|
142
142
|
showingId: showingId,
|
|
143
143
|
pId: priceage.paId,
|
|
144
144
|
p: priceage.p,
|
|
145
|
-
paName:
|
|
145
|
+
paName: priceage.paName
|
|
146
146
|
}]);
|
|
147
147
|
const event = {
|
|
148
148
|
type: 'cart-change-add',
|
|
@@ -153,7 +153,7 @@ const SeatingPlan = _ref => {
|
|
|
153
153
|
showingId: showingId,
|
|
154
154
|
pId: priceage.paId,
|
|
155
155
|
p: priceage.p,
|
|
156
|
-
paName:
|
|
156
|
+
paName: priceage.paName
|
|
157
157
|
}]
|
|
158
158
|
};
|
|
159
159
|
callbackFunction(event);
|
|
@@ -199,7 +199,7 @@ const SeatingPlan = _ref => {
|
|
|
199
199
|
setProcessing(false);
|
|
200
200
|
const event = {
|
|
201
201
|
type: 'cart-change-remove',
|
|
202
|
-
details: bookedSeats.filter(bs => bs.ssId
|
|
202
|
+
details: bookedSeats.filter(bs => bs.ssId === s.ssId)
|
|
203
203
|
};
|
|
204
204
|
callbackFunction(event);
|
|
205
205
|
}).catch(error => {
|
|
@@ -280,7 +280,8 @@ const SeatingPlan = _ref => {
|
|
|
280
280
|
c: s.c,
|
|
281
281
|
showingId: showingId,
|
|
282
282
|
p: price || s.defaultPrice,
|
|
283
|
-
|
|
283
|
+
psId: null,
|
|
284
|
+
paName: null
|
|
284
285
|
})));
|
|
285
286
|
img.onload = () => {
|
|
286
287
|
setPosition([img.height * 0.005, img.width * 0.005]);
|