|
|
@@ -5,7 +5,7 @@ function setState(state, id, object) { |
|
|
|
set(state, id, Object.assign({}, object)); |
|
|
|
} |
|
|
|
|
|
|
|
export const mutations = { |
|
|
|
export default { |
|
|
|
[types.LOGIN](state){ |
|
|
|
state.authenticated = true; |
|
|
|
}, |
|
|
@@ -18,4 +18,4 @@ export const mutations = { |
|
|
|
[types.SET_DEFAULT_OPTIONS](state, {options}){ |
|
|
|
setState(state, 'defaultOptions', options); |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |