@woosmap/ui 4.220.1 → 4.220.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
|
@@ -77,11 +77,11 @@ export default class PricingSimulator extends Component {
|
|
|
77
77
|
render() {
|
|
78
78
|
const { sliders } = this.state;
|
|
79
79
|
const { publicMode, currency } = this.props;
|
|
80
|
-
const {
|
|
81
|
-
let totalDisplayed = this.displayAmount(parseInt(total, 10), currency);
|
|
82
|
-
if (contactSale) {
|
|
83
|
-
|
|
84
|
-
}
|
|
80
|
+
const { totalBeforeDiscount } = this.computeTotal();
|
|
81
|
+
// let totalDisplayed = this.displayAmount(parseInt(total, 10), currency);
|
|
82
|
+
// if (contactSale) {
|
|
83
|
+
// totalDisplayed = <a href="/contact">Contact Sales</a>;
|
|
84
|
+
// }
|
|
85
85
|
return (
|
|
86
86
|
<>
|
|
87
87
|
<div className="pricing-nav">
|
|
@@ -95,14 +95,14 @@ export default class PricingSimulator extends Component {
|
|
|
95
95
|
<div className="pricing-total">
|
|
96
96
|
<div className="pricing-total__label">Monthly price</div>
|
|
97
97
|
<div className="pricing-total__amount">{this.displayAmount(totalBeforeDiscount, currency)}</div>
|
|
98
|
-
<div className="pricing-total__info">
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
</div>
|
|
98
|
+
{/* <div className="pricing-total__info"> */}
|
|
99
|
+
{/* {!contactSale && ( */}
|
|
100
|
+
{/* <span className="pricing-total__discount"> */}
|
|
101
|
+
{/* {`(-${this.displayAmount(discount, currency)} Monthly Free Usage)`} ={' '} */}
|
|
102
|
+
{/* <strong>{totalDisplayed}</strong> */}
|
|
103
|
+
{/* </span> */}
|
|
104
|
+
{/* )} */}
|
|
105
|
+
{/* </div> */}
|
|
106
106
|
</div>
|
|
107
107
|
</div>
|
|
108
108
|
<div className="pricing-simulator__wrapper">
|