@woosmap/ui 4.220.6 → 4.220.7

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.220.6",
3
+ "version": "4.220.7",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/WebGeoServices/ui.git"
@@ -170,15 +170,15 @@ export default class PricingSlider extends Component {
170
170
  </tr>
171
171
  );
172
172
  }
173
+ const lower = index > 0 ? displayedPricing[index - 1][0] : 0;
173
174
  if (index === displayedPricing.length - 2) {
174
175
  return (
175
176
  <tr>
176
- <td>{`${numeral(displayedPricing[displayedPricing.length - 2][0]).format('0.[0]a')}+`}</td>
177
+ <td>{`${numeral(lower).format('0.[0]a')}+`}</td>
177
178
  <td>{this.displayAmount(tier[1])}</td>
178
179
  </tr>
179
180
  );
180
181
  }
181
- const lower = index > 0 ? displayedPricing[index - 1][0] : 0;
182
182
  return (
183
183
  <tr>
184
184
  <td>{`${numeral(lower).format('0.[0]a')} to ${numeral(tier[0]).format('0.[0]a')}`}</td>