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('info', info)
|
||||||
commit('lastUserRefresh')
|
commit('lastUserRefresh')
|
||||||
|
|
||||||
if (typeof info.settings.language !== 'undefined') {
|
if (typeof info.settings.language === 'undefined' || info.settings.language === '') {
|
||||||
// save current language
|
// save current language
|
||||||
await dispatch('saveUserSettings', {
|
await dispatch('saveUserSettings', {
|
||||||
settings: {
|
settings: {
|
||||||
|
|
Loading…
Reference in a new issue