@fonixtree/magic-design 1.0.44 → 1.0.45

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.
@@ -238,7 +238,7 @@ function CouponTable(props) {
238
238
 
239
239
  var handleValue = function handleValue(obj) {
240
240
  if (obj.thAmount) {
241
- return obj.discountMethod === 'AMT' ? "Over " + (0, _currencyUtil.currencyToFont)(obj.thAmount) + " Minus " + (0, _currencyUtil.currencyToFont)(obj.discountAmount) : Number(obj.discountAmount) / 100 + "% off " + (0, _currencyUtil.currencyToFont)(obj.thAmount);
241
+ return obj.discountMethod === 'AMT' ? "Over " + (0, _currencyUtil.currencyToFont)(obj.thAmount) + " Minus " + (0, _currencyUtil.currencyToFont)(obj.discountAmount) : Number(obj.discountAmount) / 100 + "% off";
242
242
  }
243
243
 
244
244
  return obj.discountMethod === 'AMT' ? "Minus " + (0, _currencyUtil.currencyToFont)(obj.discountAmount) : Number(obj.discountAmount) / 100 + "% off";
@@ -238,7 +238,7 @@ function CouponTable(props) {
238
238
 
239
239
  var handleValue = function handleValue(obj) {
240
240
  if (obj.thAmount) {
241
- return obj.discountMethod === 'AMT' ? "Over " + (0, _currencyUtil.currencyToFont)(obj.thAmount) + " Minus " + (0, _currencyUtil.currencyToFont)(obj.discountAmount) : Number(obj.discountAmount) / 100 + "% off " + (0, _currencyUtil.currencyToFont)(obj.thAmount);
241
+ return obj.discountMethod === 'AMT' ? "Over " + (0, _currencyUtil.currencyToFont)(obj.thAmount) + " Minus " + (0, _currencyUtil.currencyToFont)(obj.discountAmount) : Number(obj.discountAmount) / 100 + "% off";
242
242
  }
243
243
 
244
244
  return obj.discountMethod === 'AMT' ? "Minus " + (0, _currencyUtil.currencyToFont)(obj.discountAmount) : Number(obj.discountAmount) / 100 + "% off";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "1.0.44",
4
+ "version": "1.0.45",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",