forked from AkkomaGang/admin-fe
Merge branch 'master' into 'feature/add-reports'
# Conflicts: # src/lang/en.js # src/store/modules/users.js # src/views/users/index.vue
This commit is contained in:
commit
741ed11bb1
1 changed files with 3 additions and 0 deletions
|
@ -48,6 +48,9 @@ const users = {
|
|||
},
|
||||
actions: {
|
||||
async FetchUsers({ commit, state, getters }, { page }) {
|
||||
const filters = Object.keys(state.filters).filter(filter => state.filters[filter]).join()
|
||||
const response = await fetchUsers(filters, getters.authHost, getters.token, page)
|
||||
|
||||
commit('SET_LOADING', true)
|
||||
|
||||
const filters = Object.keys(state.filters).filter(filter => state.filters[filter]).join()
|
||||
|
|
Loading…
Reference in a new issue