ywana-core8 0.0.811 → 0.0.812

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
@@ -6156,13 +6156,14 @@
6156
6156
  setGroupBy = _useState5[1];
6157
6157
 
6158
6158
  function change(id, value) {
6159
- var nextData = data.filter(function (row) {
6160
- return row.id === "actions";
6161
- }).map(function (row) {
6159
+ var nextData = data.map(function (row) {
6162
6160
  if (row.id === id) {
6163
6161
  var _Object$assign6;
6164
6162
 
6165
- return Object.assign({}, row, (_Object$assign6 = {}, _Object$assign6[id] = value, _Object$assign6));
6163
+ var next = Object.assign({}, row, (_Object$assign6 = {}, _Object$assign6[id] = value, _Object$assign6));
6164
+ delete next.actions;
6165
+ delete next.undefined;
6166
+ return next;
6166
6167
  } else {
6167
6168
  return row;
6168
6169
  }