From 900a3ee9440cb25f90a978ffab4e6702f4990c04 Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Fri, 7 Jun 2024 21:06:07 +0200 Subject: [PATCH] Fix language switcher --- src/components/Source.vue | 4 ++-- src/store/index.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Source.vue b/src/components/Source.vue index cc78d018a..9830d2359 100644 --- a/src/components/Source.vue +++ b/src/components/Source.vue @@ -21,8 +21,8 @@ - {{ l.native }} - + {{ l.native }} + diff --git a/src/store/index.js b/src/store/index.js index 033a20dab..833c7dde4 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -636,7 +636,7 @@ function getStore(config, router) { if (cx.state.storeLocale && userSelected) { const storage = new BrowserStorage(); - locale = storage.set('locale', locale); + storage.set('locale', locale); } // Locale for UI