From 25408f46b94932a1e19d9257070a962eea9b68b5 Mon Sep 17 00:00:00 2001 From: sephrat <34862846+sephrat@users.noreply.github.com> Date: Sat, 6 Mar 2021 22:13:00 +0100 Subject: [PATCH] Initialize language settings earlier (#199) --- frontend/src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 908ef3e0a..c66e95886 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -71,13 +71,13 @@ export default { this.search = !this.search; } }); + this.$store.dispatch("initLang"); }, mounted() { this.$store.dispatch("initTheme"); this.$store.dispatch("requestRecentRecipes"); this.$store.dispatch("requestHomePageSettings"); - this.$store.dispatch("initLang"); this.darkModeSystemCheck(); this.darkModeAddEventListener(); },