ywana-core8 0.0.810 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.0.810",
3
+ "version": "0.0.812",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
@@ -487,10 +487,12 @@ const TableEditor = (props) => {
487
487
  const [groupBy, setGroupBy] = useState(props.groupBy)
488
488
 
489
489
  function change(id, value) {
490
- console.log(id,value)
491
490
  const nextData = data.map(row => {
492
491
  if (row.id === id) {
493
- return Object.assign({}, row, { [id]: value })
492
+ const next = Object.assign({}, row, { [id]: value })
493
+ delete next.actions
494
+ delete next.undefined
495
+ return next
494
496
  } else {
495
497
  return row
496
498
  }