Manually pull in new state context on each button action enrichment to keep aware of state changes during button action execution
This commit is contained in:
parent
6227013222
commit
2e979846c4
|
@ -346,6 +346,7 @@ export const enrichButtonActions = (actions, context) => {
|
||||||
// Built total context for this action
|
// Built total context for this action
|
||||||
const totalContext = {
|
const totalContext = {
|
||||||
...context,
|
...context,
|
||||||
|
state: get(stateStore),
|
||||||
actions: buttonContext,
|
actions: buttonContext,
|
||||||
eventContext,
|
eventContext,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue