@woosmap/ui 4.179.0 → 4.180.0

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.179.0",
3
+ "version": "4.180.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/WebGeoServices/ui.git"
@@ -80,7 +80,7 @@ export default class PricingSimulator extends Component {
80
80
  const { total, discount, contactSale, totalBeforeDiscount } = this.computeTotal();
81
81
  let totalDisplayed = this.displayAmount(parseInt(total, 10), currency);
82
82
  if (contactSale) {
83
- totalDisplayed = <a href="/en/contact">Contact Sales</a>;
83
+ totalDisplayed = <a href="/contact">Contact Sales</a>;
84
84
  }
85
85
  return (
86
86
  <>
@@ -83,7 +83,7 @@ export default class PricingSlider extends Component {
83
83
 
84
84
  contactSalesButton = () => (
85
85
  <span className="button-contact">
86
- <a href="/en/contact" className="btn btn--small btn--primary">
86
+ <a href="/contact" className="btn btn--small btn--primary">
87
87
  <span className="btn__label">Contact Sales</span>
88
88
  </a>
89
89
  </span>
@@ -161,7 +161,7 @@ export default class PricingSlider extends Component {
161
161
  <td>{unit}</td>
162
162
  <td>{tr('Cost per 1000')}</td>
163
163
  </tr>
164
- {displayedPricing.map((tier, index) => {
164
+ {displayedPricing.slice(0, -1).map((tier, index) => {
165
165
  const lower = index > 0 ? displayedPricing[index - 1][0] : 0;
166
166
  return (
167
167
  <tr>