mirror of https://github.com/Lissy93/dashy.git
⚰️ Remove lang from accumulator
This commit is contained in:
parent
fb0489ff2e
commit
e176b4bf71
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue