ywana-core8 0.0.760 → 0.0.761

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.
@@ -2182,8 +2182,9 @@ var NumberCellViewer = function NumberCellViewer(_ref7) {
2182
2182
  return /*#__PURE__*/React.createElement("span", null, value);
2183
2183
  }
2184
2184
  } else {
2185
- var decimals = maxDecimals ? maxDecimals : 2;
2186
- return value ? /*#__PURE__*/React.createElement("span", null, value.toFixed(decimals)) : "";
2185
+ var decimals = maxDecimals ? maxDecimals : 2; // check value is a number
2186
+
2187
+ return value && !isNaN(value) ? /*#__PURE__*/React.createElement("span", null, value.toFixed(decimals)) : "";
2187
2188
  }
2188
2189
  };
2189
2190
  /**