diff --git a/compiled/state/vuex.js b/compiled/state/vuex.js index 8366c3a5..0588fda8 100644 --- a/compiled/state/vuex.js +++ b/compiled/state/vuex.js @@ -92,6 +92,7 @@ function _default(source) { }); }, setPage: function setPage(page) { + this.dispatch('pagination', page); this.commit("PAGINATE", page); } } diff --git a/lib/state/vuex.js b/lib/state/vuex.js index 0bad816e..c8bce3df 100644 --- a/lib/state/vuex.js +++ b/lib/state/vuex.js @@ -78,6 +78,7 @@ export default function (source) { this.commit('SORT', {column, ascending}); }, setPage: function (page) { + this.dispatch('pagination', page); this.commit(`PAGINATE`, page); } diff --git a/package.json b/package.json index b6ee451e..8d8b1451 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vue-tables-2", "description": "Vue.js 2 grid components", - "version": "2.0.13", + "version": "2.0.14", "keywords": [ "vue2", "vuex",