mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-12 12:06:38 -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: {
|
||||
setAppLang(state, value) {
|
||||
state.appLang = value;
|
||||
Vue.http.get(`/language/${value}`);
|
||||
window.axios.get(`/language/${value}`);
|
||||
},
|
||||
|
||||
setFirstLoad(state, value) {
|
||||
|
|
Loading…
Reference in a new issue