From 4101951f2cce3a3d2fbb0d367d0e8a57fe7063d4 Mon Sep 17 00:00:00 2001 From: Florian Dupret Date: Sat, 6 Mar 2021 10:27:02 +0100 Subject: [PATCH] Initialize language settings earlier --- 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(); },