iticket-seatingplan-dev 1.2.1 → 1.2.3

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.
@@ -79,7 +79,8 @@ const SeatingPlan = _ref => {
79
79
  s.loading = false;
80
80
  (cs || chosenSeat).circle.target.setStyle({
81
81
  fillColor: statusColors.sold
82
- })(cs || chosenSeat).seat.s = 2;
82
+ });
83
+ cs ? cs.seat.s = 2 : chosenSeat.seat.s = 2;
83
84
  const event = {
84
85
  type: 'error',
85
86
  details: {
@@ -252,7 +253,7 @@ const SeatingPlan = _ref => {
252
253
  map && area === areaId && map.target.setView([height * 0.015, width * 0.015], 6);
253
254
  setIsReloading(false);
254
255
  }).catch(error => {
255
- console.log(error);
256
+ // console.log(error)
256
257
  setError({
257
258
  response: {
258
259
  data: {
@@ -303,7 +304,6 @@ const SeatingPlan = _ref => {
303
304
  const y = filteredSeats.map(fs => fs.y);
304
305
  const maxX = Math.max(...x) - Math.min(...x);
305
306
  const maxY = Math.max(...y) - Math.min(...y);
306
- console.log(maxX, maxY);
307
307
  if (maxY > 67.5) return 4;else return 6;
308
308
  };
309
309
 
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.1",
5
+ "version": "1.2.3",
6
6
  "private": false,
7
7
  "keywords": [
8
8
  "iticket",