@woosmap/ui 4.226.7 → 4.226.9

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.7",
3
+ "version": "4.226.9",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/WebGeoServices/ui.git"
@@ -126,12 +126,12 @@ export default class PricingSlider extends Component {
126
126
  getDisplayedPricing = () => {
127
127
  const { productPricing, currency, planId } = this.props;
128
128
  const product = this.findProduct(productPricing.productId);
129
- const displayedPricing =
130
- product && product.pricings[planId] && product.pricings[planId][currencyMap[currency]]
131
- ? product.pricings[planId][currencyMap[currency]]
132
- : [];
133
- displayedPricing.append([displayedPricing[displayedPricing.length - 1][0] * 2, null]);
134
- return displayedPricing;
129
+ if (product && product.pricings[planId] && product.pricings[planId][currencyMap[currency]]) {
130
+ const displayedPricing = product.pricings[planId][currencyMap[currency]];
131
+ displayedPricing.push([displayedPricing[displayedPricing.length - 1][0] * 2, null]);
132
+ return displayedPricing;
133
+ }
134
+ return [];
135
135
  };
136
136
 
137
137
  getDisplayedData = (queries) => {