mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-22 07:54:11 -05:00
Fix language selection by using window.axios rather than http in the vuex mutation
This commit is contained in:
parent
345e315272
commit
729e2b058c
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ const store = createStore({
|
||||||
mutations: {
|
mutations: {
|
||||||
setAppLang(state, value) {
|
setAppLang(state, value) {
|
||||||
state.appLang = value;
|
state.appLang = value;
|
||||||
Vue.http.get(`/language/${value}`);
|
window.axios.get(`/language/${value}`);
|
||||||
},
|
},
|
||||||
|
|
||||||
setFirstLoad(state, value) {
|
setFirstLoad(state, value) {
|
||||||
|
|
Loading…
Reference in a new issue