Commit d65c3ac7 authored by Vadym Gidulian's avatar Vadym Gidulian

Renamed `getData` to `fetchData`

parent 5a4fcaad
......@@ -8,6 +8,6 @@ var app = new Vue({
router: require('./app.router'),
store: require('./app.store'),
created: function () {
this.$store.dispatch('getData');
this.$store.dispatch('fetchData');
}
});
......@@ -10,7 +10,7 @@ module.exports = new Vuex.Store({
module: require('./store/module.store')
},
actions: {
getData: function (context) {
fetchData: function (context) {
context.dispatch('module/...');
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment