@woosmap/ui 4.232.2 → 4.232.3

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.232.2",
3
+ "version": "4.232.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/WebGeoServices/ui.git"
@@ -160,7 +160,7 @@ export default class PricingSimulator extends Component {
160
160
  render() {
161
161
  const { sliders, displayCompetitorsProduct } = this.state;
162
162
  const { currency, hlPricings, planId } = this.props;
163
- const { total, contactSale, totalBeforeDiscount } = this.computeTotal();
163
+ const { total, contactSale } = this.computeTotal();
164
164
  const totalDisplayed = this.displayAmount(parseInt(total, 10), currency);
165
165
  // if (contactSale) {
166
166
  // totalDisplayed = <a href="/contact">Contact Sales</a>;
@@ -185,7 +185,7 @@ export default class PricingSimulator extends Component {
185
185
  )}
186
186
  </div>
187
187
  <div className="pricing-total__amount">
188
- {this.displayAmount(totalBeforeDiscount, currency)}
188
+ {this.displayAmount(total, currency)}
189
189
  {contactSale && <span className="pricing-total__amount__asterisk">*</span>}
190
190
  </div>
191
191
  </div>