mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
imp: give reference to dispatch function in actions
This commit is contained in:
committed by
Géry Debongnie
parent
7027ff1eb6
commit
3340401f54
+3
-2
@@ -91,8 +91,9 @@ export class Store extends EventBus {
|
||||
this.actions[action](
|
||||
{
|
||||
commit: this.commit.bind(this),
|
||||
state: this.state,
|
||||
env: this.env
|
||||
dispatch: this.dispatch.bind(this),
|
||||
env: this.env,
|
||||
state: this.state
|
||||
},
|
||||
payload
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user