Update initial values for users module state

This commit is contained in:
Angelina Filippova 2020-05-01 00:52:32 +03:00
parent ca8df9e726
commit 005c8ff161

View file

@ -24,6 +24,7 @@ const users = {
searchQuery: '', searchQuery: '',
totalUsersCount: 0, totalUsersCount: 0,
currentPage: 1, currentPage: 1,
pageSize: 50,
filters: { filters: {
local: false, local: false,
external: false, external: false,
@ -73,9 +74,6 @@ const users = {
}, },
SET_USERS_FILTERS: (state, filters) => { SET_USERS_FILTERS: (state, filters) => {
state.filters = filters state.filters = filters
},
SET_USER_PROFILE: (state, user) => {
state.userProfile = user
} }
}, },
actions: { actions: {