ywana-core8 0.0.95 → 0.0.96

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
@@ -483,10 +483,6 @@ function _extends() {
483
483
  return _extends.apply(this, arguments);
484
484
  }
485
485
 
486
- function _readOnlyError(name) {
487
- throw new TypeError("\"" + name + "\" is read-only");
488
- }
489
-
490
486
  /**
491
487
  * List
492
488
  */
@@ -1139,7 +1135,7 @@ var DataTableCell = function DataTableCell(_ref2) {
1139
1135
  _onChange = column.onChange,
1140
1136
  options = column.options;
1141
1137
 
1142
- if (_readOnlyError("id")) ; else if (editable && _onChange) {
1138
+ if (id === "checked") ; else if (editable && _onChange) {
1143
1139
  switch (type) {
1144
1140
  case "ICON":
1145
1141
  return /*#__PURE__*/React__default["default"].createElement(Icon, {