ywana-core8 0.0.971 → 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 +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +2 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/table.js +1 -1
package/dist/index.umd.js
CHANGED
@@ -2532,11 +2532,11 @@
|
|
2532
2532
|
var locale = window.navigator.userLanguage || window.navigator.language;
|
2533
2533
|
switch (format) {
|
2534
2534
|
case FORMATS$1.TOKENS:
|
2535
|
-
text = value.map(function (token) {
|
2535
|
+
text = value && Array.isArray(value) ? value.map(function (token) {
|
2536
2536
|
return /*#__PURE__*/React__default["default"].createElement("span", {
|
2537
2537
|
className: "token"
|
2538
2538
|
}, token);
|
2539
|
-
}).join(", ");
|
2539
|
+
}).join(", ") : value;
|
2540
2540
|
break;
|
2541
2541
|
case FORMATS$1.COLOR:
|
2542
2542
|
text = /*#__PURE__*/React__default["default"].createElement("input", {
|