fix: Update survey locale based on the account (#4207)

This commit is contained in:
Pranav Raj S
2022-03-20 13:07:36 +05:30
committed by GitHub
parent 8372ae418e
commit 6097f4c122
8 changed files with 99 additions and 8 deletions

View File

@@ -3,6 +3,7 @@ import Vuelidate from 'vuelidate';
import VueI18n from 'vue-i18n';
import App from '../survey/App.vue';
import i18n from '../survey/i18n';
import store from '../survey/store';
Vue.use(VueI18n);
Vue.use(Vuelidate);
@@ -20,6 +21,7 @@ Vue.config.productionTip = false;
window.onload = () => {
window.WOOT_SURVEY = new Vue({
i18n: i18nConfig,
store,
render: h => h(App),
}).$mount('#app');
};