ywana-core8 0.0.462 → 0.0.463
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 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +2 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +2 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/TablePage.js +8 -4
package/package.json
CHANGED
package/src/domain/TablePage.js
CHANGED
@@ -203,10 +203,14 @@ const TableSelector = (props) => {
|
|
203
203
|
rows: rows || []
|
204
204
|
}
|
205
205
|
const buttons = actions.map(({ label, action }) => {
|
206
|
-
return <Button
|
207
|
-
|
208
|
-
|
209
|
-
|
206
|
+
return <Button
|
207
|
+
label={label} raised
|
208
|
+
action={() => action(checked, pageContext, async () => {
|
209
|
+
await pageContext.load()
|
210
|
+
setPageContext(Object.assign({}, pageContext))
|
211
|
+
})}
|
212
|
+
disabled={ action.validate ? !action.validate(checked) : false }
|
213
|
+
/>
|
210
214
|
})
|
211
215
|
|
212
216
|
return (
|