iticket-seatingplan-dev 1.2.3 → 1.2.4

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.
@@ -92,6 +92,24 @@ const SeatingPlan = _ref => {
92
92
  };
93
93
  callbackFunction(event);
94
94
  setProcessing(false);
95
+ }
96
+ if ((response === null || response === void 0 ? void 0 : response.status) === 400) {
97
+ s.loading = false;
98
+ (cs || chosenSeat).circle.target.setStyle({
99
+ fillColor: statusColors.sold
100
+ });
101
+ cs ? cs.seat.s = 2 : chosenSeat.seat.s = 2;
102
+ const event = {
103
+ type: 'error',
104
+ details: {
105
+ error: {
106
+ code: 403,
107
+ message: "Oops, seems like you're trying to book tickets that are incompatible with other tickets in your cart."
108
+ }
109
+ }
110
+ };
111
+ callbackFunction(event);
112
+ setProcessing(false);
95
113
  } else if ((response === null || response === void 0 ? void 0 : response.status) === 429) {
96
114
  s.loading = false;
97
115
  (cs || chosenSeat).circle.target.setStyle({
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "iticket-seatingplan-dev",
3
3
  "description": "Seating plan with FLEXi pricing",
4
4
  "author": "gedwyne",
5
- "version": "1.2.3",
5
+ "version": "1.2.4",
6
6
  "private": false,
7
7
  "keywords": [
8
8
  "iticket",