|
@@ -53,7 +53,8 @@ const state = getDefaultState()
|
|
|
|
|
|
const mutations = {
|
|
|
RESET_STATE: (state) => {
|
|
|
- Object.assign(state, getDefaultState())
|
|
|
+ const visitorColumnFields = state.visitorColumnFields
|
|
|
+ Object.assign(state, getDefaultState(), { visitorColumnFields })
|
|
|
},
|
|
|
SET_TOKEN: (state, token) => {
|
|
|
state.token = token
|