ywana-core8 0.0.109 → 0.0.110

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.
@@ -4297,13 +4297,8 @@ var TableFilters = function TableFilters(props) {
4297
4297
 
4298
4298
  var TableEditor = function TableEditor(props) {
4299
4299
  var checkOne = function checkOne(id, field, value) {
4300
- try {
4301
- console.log("checkOne", id, field, value);
4302
- check([id], value);
4303
- return Promise.resolve();
4304
- } catch (e) {
4305
- return Promise.reject(e);
4306
- }
4300
+ check([id], value);
4301
+ return Promise.resolve();
4307
4302
  };
4308
4303
 
4309
4304
  var check = function check(ids, value) {
@@ -4420,7 +4415,7 @@ var TableEditor = function TableEditor(props) {
4420
4415
  };
4421
4416
  }),
4422
4417
  rows: groups[groupName].map(function (item) {
4423
- item.checked = pageContext.checked.has(item.id);
4418
+ item.checked = pageContext.checked ? pageContext.checked.has(item.id) : false;
4424
4419
  item.actions = actions ? actions.map(function (_action) {
4425
4420
  return _action.filter ? _action.filter(item) ? /*#__PURE__*/React.createElement(Icon, {
4426
4421
  icon: _action.icon,
@@ -4478,7 +4473,6 @@ var TableEditor = function TableEditor(props) {
4478
4473
  });
4479
4474
  }
4480
4475
 
4481
- console.log('table page checked', pageContext.checked);
4482
4476
  return /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement(Header, {
4483
4477
  icon: icon,
4484
4478
  title: /*#__PURE__*/React.createElement(Text, null, title)
@@ -4493,7 +4487,7 @@ var TableEditor = function TableEditor(props) {
4493
4487
  }, renderGroups()));
4494
4488
  };
4495
4489
  /**
4496
- * table Context
4490
+ * Table Context
4497
4491
  */
4498
4492
 
4499
4493