@woosmap/ui 4.226.12 → 4.226.13

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@woosmap/ui",
3
- "version": "4.226.12",
3
+ "version": "4.226.13",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/WebGeoServices/ui.git"
@@ -37,12 +37,12 @@ export default class PricingSlider extends Component {
37
37
  const valueToRemove = Math.min(tier[0] - previousPricingTier[0], q);
38
38
  if (valueToRemove > 0) {
39
39
  q -= valueToRemove;
40
- return amount + (valueToRemove / 1000) * (tier[1] / 100);
40
+ return amount + (valueToRemove / 1000) * tier[1];
41
41
  }
42
42
  } else {
43
43
  const valueToRemove = Math.min(tier[0], q);
44
44
  q -= valueToRemove;
45
- return amount + (valueToRemove / 1000) * (tier[1] / 100);
45
+ return amount + (valueToRemove / 1000) * tier[1];
46
46
  }
47
47
  return Math.floor(amount);
48
48
  }, 0);
@@ -192,14 +192,14 @@ export default class PricingSlider extends Component {
192
192
  return (
193
193
  <tr>
194
194
  <td>{`${numeral(lower).format('0.[0]a')}+`}</td>
195
- <td>{this.displayAmount((tier[1] / 100).toFixed(2))}</td>
195
+ <td>{this.displayAmount(tier[1].toFixed(2))}</td>
196
196
  </tr>
197
197
  );
198
198
  }
199
199
  return (
200
200
  <tr>
201
201
  <td>{`${numeral(lower).format('0.[0]a')} to ${numeral(tier[0]).format('0.[0]a')}`}</td>
202
- <td>{this.displayAmount((tier[1] / 100).toFixed(2))}</td>
202
+ <td>{this.displayAmount(tier[1].toFixed(2))}</td>
203
203
  </tr>
204
204
  );
205
205
  })}