forked from AkkomaGang/akkoma-fe
Fixed mergedConfig misbehaving on first boot
This commit is contained in:
parent
38d9ea8b17
commit
63c22ad131
1 changed files with 2 additions and 1 deletions
|
@ -93,7 +93,8 @@ const config = {
|
||||||
const { defaultConfig } = rootGetters
|
const { defaultConfig } = rootGetters
|
||||||
return {
|
return {
|
||||||
...defaultConfig,
|
...defaultConfig,
|
||||||
...state
|
// Do not override with undefined
|
||||||
|
...Object.fromEntries(Object.entries(state).filter(([k, v]) => v !== undefined))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue