ywana-core8 0.0.970 → 0.0.972

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/dist/index.cjs CHANGED
@@ -2539,11 +2539,11 @@ var StringCellViewer = function StringCellViewer(_ref11) {
2539
2539
  var locale = window.navigator.userLanguage || window.navigator.language;
2540
2540
  switch (format) {
2541
2541
  case FORMATS$1.TOKENS:
2542
- text = value.split(',').map(function (token) {
2542
+ text = value && Array.isArray(value) ? value.map(function (token) {
2543
2543
  return /*#__PURE__*/React__default["default"].createElement("span", {
2544
2544
  className: "token"
2545
2545
  }, token);
2546
- });
2546
+ }).join(", ") : value;
2547
2547
  break;
2548
2548
  case FORMATS$1.COLOR:
2549
2549
  text = /*#__PURE__*/React__default["default"].createElement("input", {