ywana-core8 0.0.548 → 0.0.549
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 +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +2 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentEditor.js +2 -2
package/package.json
CHANGED
@@ -536,13 +536,13 @@ const TableEditor = (props) => {
|
|
536
536
|
}
|
537
537
|
}),
|
538
538
|
rows: groups[groupName]
|
539
|
-
.map(item => {
|
539
|
+
.map((item, index) => {
|
540
540
|
item.actions = actions ? actions.map(action => {
|
541
541
|
return action.filter ?
|
542
542
|
action.filter(item) ? <Icon icon={action.icon} clickable size="small" action={() => run(action, item)} /> : null
|
543
543
|
: <Icon icon={action.icon} clickable size="small" action={() => run(action, item)} />
|
544
544
|
}) : []
|
545
|
-
if (canDelete) item.actions.push(<Icon icon="delete" size="small" clickable action={() => remove(
|
545
|
+
if (canDelete) item.actions.push(<Icon icon="delete" size="small" clickable action={() => remove(index)} />)
|
546
546
|
return item
|
547
547
|
})
|
548
548
|
}
|