Merge branch 'fix-themes-select' into 'develop'

Fix theme select not working

See merge request pleroma/pleroma-fe!1393
This commit is contained in:
Shpuld Shpludson 2021-07-19 18:33:19 +00:00
commit 425919a0d2
4 changed files with 26 additions and 14 deletions

View file

@ -94,7 +94,8 @@ const config = {
const { defaultConfig } = rootGetters
return {
...defaultConfig,
...state
// Do not override with undefined
...Object.fromEntries(Object.entries(state).filter(([k, v]) => v !== undefined))
}
}
},