ywana-core8 0.0.811 → 0.0.813

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.umd.js CHANGED
@@ -6077,6 +6077,7 @@
6077
6077
  var _Object$assign5;
6078
6078
 
6079
6079
  var next = Object.assign({}, form, (_Object$assign5 = {}, _Object$assign5[cellId] = cellValue, _Object$assign5));
6080
+ delete next.actions;
6080
6081
  setForm(next);
6081
6082
  }
6082
6083
  }
@@ -6156,13 +6157,14 @@
6156
6157
  setGroupBy = _useState5[1];
6157
6158
 
6158
6159
  function change(id, value) {
6159
- var nextData = data.filter(function (row) {
6160
- return row.id === "actions";
6161
- }).map(function (row) {
6160
+ var nextData = data.map(function (row) {
6162
6161
  if (row.id === id) {
6163
6162
  var _Object$assign6;
6164
6163
 
6165
- return Object.assign({}, row, (_Object$assign6 = {}, _Object$assign6[id] = value, _Object$assign6));
6164
+ var next = Object.assign({}, row, (_Object$assign6 = {}, _Object$assign6[id] = value, _Object$assign6));
6165
+ delete next.actions;
6166
+ delete next.undefined;
6167
+ return next;
6166
6168
  } else {
6167
6169
  return row;
6168
6170
  }