mirror of
https://github.com/Lissy93/dashy.git
synced 2025-12-24 09:26:26 +01:00
🚑 Adds null check for appConfig (#627)
This commit is contained in:
parent
40d1236b2d
commit
decd3be6b0
1 changed files with 2 additions and 0 deletions
|
|
@ -136,9 +136,11 @@ const store = new Vuex.Store({
|
|||
},
|
||||
mutations: {
|
||||
[SET_CONFIG](state, config) {
|
||||
if (!config.appConfig) config.appConfig = {};
|
||||
state.config = config;
|
||||
},
|
||||
[SET_REMOTE_CONFIG](state, config) {
|
||||
if (!config.appConfig) config.appConfig = {};
|
||||
state.remoteConfig = config;
|
||||
},
|
||||
[SET_LANGUAGE](state, lang) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue