iticket-seatingplan-dev 0.0.3 → 0.0.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.
@@ -17,6 +17,7 @@ const SeatingPlan = _ref => {
17
17
  sessionId,
18
18
  showingId,
19
19
  priceAgeId,
20
+ priceSectionId,
20
21
  price,
21
22
  quantity,
22
23
  callbackFunction,
@@ -231,7 +232,7 @@ const SeatingPlan = _ref => {
231
232
  bounds: [[height * 0.03 - s.raw_y * 0.61 - 0.2, s.raw_x * 0.615 - 0.2], [height * 0.03 - s.raw_y * 0.61 + 0.2, s.raw_x * 0.615 + 0.2]],
232
233
  opacity: chosenSeat && chosenSeat.seat.showingSeatId === s.showingSeatId ? 100 : 0,
233
234
  zIndex: 10
234
- }), s.status === 6 ? /*#__PURE__*/_react.default.createElement(_reactLeaflet.ImageOverlay, {
235
+ }), !priceSectionId || s.priceSectionId === priceSectionId ? s.status === 6 ? /*#__PURE__*/_react.default.createElement(_reactLeaflet.ImageOverlay, {
235
236
  url: wheelchairSeat,
236
237
  bounds: [[height * 0.03 - s.raw_y * 0.61 - 0.17, s.raw_x * 0.615 - 0.17], [height * 0.03 - s.raw_y * 0.61 + 0.17, s.raw_x * 0.615 + 0.17]],
237
238
  zIndex: 10
@@ -249,7 +250,7 @@ const SeatingPlan = _ref => {
249
250
  }, /*#__PURE__*/_react.default.createElement(_reactLeaflet.Tooltip, {
250
251
  direction: 'top',
251
252
  offset: [0, height * 0.03 + -30]
252
- }, s.rowName + '-' + s.columnName))))) : /*#__PURE__*/_react.default.createElement("div", {
253
+ }, s.rowName + '-' + s.columnName)) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null)))) : /*#__PURE__*/_react.default.createElement("div", {
253
254
  className: "loading"
254
255
  }, /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("svg", {
255
256
  width: "105",
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": "0.0.3",
5
+ "version": "0.0.4",
6
6
  "private": false,
7
7
  "keywords": [
8
8
  "iticket",