Fix naming bug

This commit is contained in:
Angelina Filippova 2019-03-28 02:13:34 +05:00
parent 9c059c5887
commit 977e49f572

View file

@ -76,10 +76,10 @@ const users = {
},
async ToggleUsersFilter({ commit, dispatch, state }, filters) {
const defaultFilters = {
localUsersOnly: false,
externalUsersOnly: false,
activeUsersOnly: false,
deactivatedUsersOnly: false
local: false,
external: false,
active: false,
deactivated: false
}
const currentFilters = { ...defaultFilters, ...filters }
commit('SET_USERS_FILTERS', currentFilters)