From c7ac81a99f829f70e898ac97f057a9c1ed014348 Mon Sep 17 00:00:00 2001 From: kolaente Date: Fri, 14 Jan 2022 22:11:13 +0100 Subject: [PATCH] fix: save user language when it wasn't saved previously --- src/store/modules/auth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/modules/auth.js b/src/store/modules/auth.js index 42078322..c5dd1032 100644 --- a/src/store/modules/auth.js +++ b/src/store/modules/auth.js @@ -226,7 +226,7 @@ export default { commit('info', info) commit('lastUserRefresh') - if (typeof info.settings.language !== 'undefined') { + if (typeof info.settings.language === 'undefined' || info.settings.language === '') { // save current language await dispatch('saveUserSettings', { settings: {