⚰️ Remove lang from accumulator

This commit is contained in:
Alicia Sykes 2021-09-10 23:50:32 +01:00
parent fb0489ff2e
commit e176b4bf71
1 changed files with 1 additions and 3 deletions

View File

@ -11,7 +11,7 @@ import {
pageInfo as defaultPageInfo,
iconSize as defaultIconSize,
layout as defaultLayout,
language as defaultLanguage,
// language as defaultLanguage,
} from '@/utils/defaults';
import conf from '../../public/conf.yml';
@ -38,8 +38,6 @@ export default class ConfigAccumulator {
|| appConfigFile.layout || defaultLayout;
usersAppConfig.iconSize = localStorage[localStorageKeys.ICON_SIZE]
|| appConfigFile.iconSize || defaultIconSize;
usersAppConfig.language = localStorage[localStorageKeys.LANGUAGE]
|| appConfigFile.language || defaultLanguage;
// Don't let users modify users locally
if (appConfigFile.auth) usersAppConfig.auth = appConfigFile.auth;
// All done, return final appConfig object