Fixed mergedConfig misbehaving on first boot
This commit is contained in:
parent
38d9ea8b17
commit
63c22ad131
@ -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 New Issue
Block a user