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/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +4 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +4 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentEditor.js +4 -2
package/dist/index.modern.js
CHANGED
@@ -6154,12 +6154,14 @@ var TableEditor$3 = function TableEditor(props) {
|
|
6154
6154
|
setGroupBy = _useState5[1];
|
6155
6155
|
|
6156
6156
|
function change(id, value) {
|
6157
|
-
console.log(id, value);
|
6158
6157
|
var nextData = data.map(function (row) {
|
6159
6158
|
if (row.id === id) {
|
6160
6159
|
var _Object$assign6;
|
6161
6160
|
|
6162
|
-
|
6161
|
+
var next = Object.assign({}, row, (_Object$assign6 = {}, _Object$assign6[id] = value, _Object$assign6));
|
6162
|
+
delete next.actions;
|
6163
|
+
delete next.undefined;
|
6164
|
+
return next;
|
6163
6165
|
} else {
|
6164
6166
|
return row;
|
6165
6167
|
}
|