@woosmap/ui 4.226.1 → 4.226.2
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
|
@@ -38,7 +38,7 @@ export default class PricingSlider extends Component {
|
|
|
38
38
|
} else {
|
|
39
39
|
const valueToRemove = Math.min(tier[0], q);
|
|
40
40
|
q -= valueToRemove;
|
|
41
|
-
return amount + (valueToRemove / 1000) * tier[1]
|
|
41
|
+
return amount + ((valueToRemove / 1000) * tier[1]) / coef;
|
|
42
42
|
}
|
|
43
43
|
return Math.floor(amount);
|
|
44
44
|
}, 0);
|
|
@@ -180,14 +180,14 @@ export default class PricingSlider extends Component {
|
|
|
180
180
|
return (
|
|
181
181
|
<tr>
|
|
182
182
|
<td>{`${numeral(lower).format('0.[0]a')}+`}</td>
|
|
183
|
-
<td>{this.displayAmount(tier[1]
|
|
183
|
+
<td>{this.displayAmount(tier[1] / coef)}</td>
|
|
184
184
|
</tr>
|
|
185
185
|
);
|
|
186
186
|
}
|
|
187
187
|
return (
|
|
188
188
|
<tr>
|
|
189
189
|
<td>{`${numeral(lower).format('0.[0]a')} to ${numeral(tier[0]).format('0.[0]a')}`}</td>
|
|
190
|
-
<td>{this.displayAmount(tier[1])}</td>
|
|
190
|
+
<td>{this.displayAmount(tier[1] / coef)}</td>
|
|
191
191
|
</tr>
|
|
192
192
|
);
|
|
193
193
|
})}
|