ywana-core8 0.0.164 → 0.0.168
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/TablePage.js +2 -2
package/package.json
CHANGED
package/src/domain/TablePage.js
CHANGED
@@ -105,8 +105,9 @@ export const TablePage = (props) => {
|
|
105
105
|
|
106
106
|
function renderActions() {
|
107
107
|
return actions.map(element => {
|
108
|
-
const action = () => element.props.action(pageContext)
|
108
|
+
const action = () => element.props.action(pageContext, "a")
|
109
109
|
const clone = React.cloneElement(element, [ action ])
|
110
|
+
console.log("renderActions", clone)
|
110
111
|
return clone
|
111
112
|
})
|
112
113
|
}
|
@@ -120,7 +121,6 @@ export const TablePage = (props) => {
|
|
120
121
|
<MenuItem label="Cargar Escenario 1" onSelect={playScenario} />
|
121
122
|
</MenuIcon>
|
122
123
|
) : null}
|
123
|
-
{actions}
|
124
124
|
{renderActions()}
|
125
125
|
</Header>
|
126
126
|
<menu className="table-page">
|