fix: save user language when it wasn't saved previously

This commit is contained in:
kolaente 2022-01-14 22:11:13 +01:00
parent c8558e6b25
commit c7ac81a99f
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -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: {