ywana-core8 0.0.810 → 0.0.811
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 +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +3 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +3 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentEditor.js +1 -2
package/package.json
CHANGED
@@ -487,8 +487,7 @@ const TableEditor = (props) => {
|
|
487
487
|
const [groupBy, setGroupBy] = useState(props.groupBy)
|
488
488
|
|
489
489
|
function change(id, value) {
|
490
|
-
|
491
|
-
const nextData = data.map(row => {
|
490
|
+
const nextData = data.filter(row => row.id === "actions").map(row => {
|
492
491
|
if (row.id === id) {
|
493
492
|
return Object.assign({}, row, { [id]: value })
|
494
493
|
} else {
|