ywana-core8 0.0.157 → 0.0.158

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.0.157",
3
+ "version": "0.0.158",
4
4
  "description": "ywana-core8",
5
5
  "author": "Ernesto Roldan Garcia",
6
6
  "license": "MIT",
@@ -161,7 +161,10 @@ const TableSelector = (props) => {
161
161
  rows: rows || []
162
162
  }
163
163
  const buttons = actions.map(({ label, action }) => {
164
- return <Button label={label} raised action={() => action(checked)} />
164
+ return <Button label={label} raised action={() => action(checked, pageContext, async () => {
165
+ await pageContext.load()
166
+ setPageContext(Object.assign({}, pageContext))
167
+ })} />
165
168
  })
166
169
 
167
170
  return (