@woosmap/ui 4.226.8 → 4.226.10
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
|
@@ -127,8 +127,9 @@ export default class PricingSlider extends Component {
|
|
|
127
127
|
const { productPricing, currency, planId } = this.props;
|
|
128
128
|
const product = this.findProduct(productPricing.productId);
|
|
129
129
|
if (product && product.pricings[planId] && product.pricings[planId][currencyMap[currency]]) {
|
|
130
|
-
const displayedPricing = product.pricings[planId][currencyMap[currency]];
|
|
131
|
-
displayedPricing.
|
|
130
|
+
const displayedPricing = [...product.pricings[planId][currencyMap[currency]]];
|
|
131
|
+
displayedPricing.push([displayedPricing[displayedPricing.length - 1][0] * 2, null]);
|
|
132
|
+
console.log('coucou', displayedPricing);
|
|
132
133
|
return displayedPricing;
|
|
133
134
|
}
|
|
134
135
|
return [];
|