iticket-seatingplan-dev 1.1.3 → 1.1.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.
@@ -111,6 +111,7 @@ const SeatingPlan = _ref => {
111
111
  fillColor: statusColors.booked
112
112
  });
113
113
  setProcessing(false);
114
+ setChosenSeat(null);
114
115
  setBookedSeats([...bookedSeats, {
115
116
  ssId: s.ssId,
116
117
  r: s.r,
@@ -141,6 +142,7 @@ const SeatingPlan = _ref => {
141
142
  };
142
143
  callbackFunction(event);
143
144
  setProcessing(false);
145
+ setChosenSeat(null);
144
146
  });
145
147
  };
146
148
  const removeTicketFromCart = (s, e) => {
@@ -158,6 +160,7 @@ const SeatingPlan = _ref => {
158
160
  });
159
161
  setBookedSeats(bookedSeats.filter(bs => bs.ssId !== s.ssId));
160
162
  setProcessing(false);
163
+ setChosenSeat(null);
161
164
  }).catch(error => {
162
165
  e.target.setStyle({
163
166
  fillColor: statusColors.booked
@@ -173,6 +176,7 @@ const SeatingPlan = _ref => {
173
176
  };
174
177
  callbackFunction(event);
175
178
  setProcessing(false);
179
+ setChosenSeat(null);
176
180
  });
177
181
  };
178
182
  const handleClick = (e, s) => {
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.1.3",
5
+ "version": "1.1.4",
6
6
  "private": false,
7
7
  "keywords": [
8
8
  "iticket",