fix: save user language when it wasn't saved previously
This commit is contained in:
parent
c8558e6b25
commit
c7ac81a99f
1 changed files with 1 additions and 1 deletions
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue