Fix language selection by using window.axios rather than http in the vuex mutation

This commit is contained in:
Kevin MacMartin 2022-07-20 17:07:24 -04:00
parent 345e315272
commit 729e2b058c

View file

@ -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) {