From 3aa786395a1c00a7ceebb4af439f4b128d3e213e Mon Sep 17 00:00:00 2001 From: Giulio Date: Sat, 12 Jun 2021 13:07:46 +0200 Subject: [PATCH] fix lang Co-authored-by: Alberto Xamin --- frontend/src/App.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 908258d..305afdc 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -108,9 +108,10 @@ export default { } }, mounted() { - if (localStorage.getItem('lang')) + if (localStorage.getItem('lang')) { this.$i18n.locale = localStorage.getItem('lang'); document.documentElement.lang = this.$i18n.locale; + } this.detectColorScheme() }, created() {