@fonixtree/magic-design 1.0.49 → 1.0.50

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.
Binary file
@@ -136,7 +136,7 @@ function (_super) {
136
136
 
137
137
  var _price = pricePrefix + " " + integerPart + " " + (decimalPart ? '.' + decimalPart : '');
138
138
 
139
- var oldPrice = data.marketPrice !== null ? (0, _currencyUtil.formatCurrencyWithSymbol)(data.marketPrice) : null;
139
+ var oldPrice = data.marketPrice ? (0, _currencyUtil.formatCurrencyWithSymbol)(data.marketPrice) : null;
140
140
  var discount = Number(data.discountPercent) || 0;
141
141
  var salePercent = Number(data.salePercent) / 100 || 0;
142
142
  var imgStyle = {};
Binary file
@@ -136,7 +136,7 @@ function (_super) {
136
136
 
137
137
  var _price = pricePrefix + " " + integerPart + " " + (decimalPart ? '.' + decimalPart : '');
138
138
 
139
- var oldPrice = data.marketPrice !== null ? (0, _currencyUtil.formatCurrencyWithSymbol)(data.marketPrice) : null;
139
+ var oldPrice = data.marketPrice ? (0, _currencyUtil.formatCurrencyWithSymbol)(data.marketPrice) : null;
140
140
  var discount = Number(data.discountPercent) || 0;
141
141
  var salePercent = Number(data.salePercent) / 100 || 0;
142
142
  var imgStyle = {};
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.49",
4
+ "version": "1.0.50",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",