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.cjs CHANGED
@@ -6162,13 +6162,14 @@ var TableEditor$3 = function TableEditor(props) {
6162
6162
  setGroupBy = _useState5[1];
6163
6163
 
6164
6164
  function change(id, value) {
6165
- var nextData = data.filter(function (row) {
6166
- return row.id === "actions";
6167
- }).map(function (row) {
6165
+ var nextData = data.map(function (row) {
6168
6166
  if (row.id === id) {
6169
6167
  var _Object$assign6;
6170
6168
 
6171
- return Object.assign({}, row, (_Object$assign6 = {}, _Object$assign6[id] = value, _Object$assign6));
6169
+ var next = Object.assign({}, row, (_Object$assign6 = {}, _Object$assign6[id] = value, _Object$assign6));
6170
+ delete next.actions;
6171
+ delete next.undefined;
6172
+ return next;
6172
6173
  } else {
6173
6174
  return row;
6174
6175
  }