Skip to content

Commit

Permalink
adds return statement to custom actions
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-heimbuch committed Jul 17, 2018
1 parent 6e2866e commit dee801e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "redux-vuex",
"version": "0.1.0",
"version": "0.1.1",
"description": "Redux bindings for VueJS inspired by Vuex.",
"main": "index.js",
"keywords": ["vue", "vuejs", "redux", "vuex", "bindings"],
Expand Down
2 changes: 1 addition & 1 deletion src/map-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const defaultAction = action => function (...args) {
}

const customAction = fn => function (...args) {
fn.apply(this, [Object.assign({}, this.store, { actions: this.$$actions }), ...args])
return fn.apply(this, [Object.assign({}, this.store, { actions: this.$$actions }), ...args])
}

const simpleActions = actions =>
Expand Down

0 comments on commit dee801e

Please sign in to comment.