chore(payload,ui)!:update custom config to separate client and server bundles (#5914)
This commit is contained in:
@@ -55,6 +55,12 @@ export const createClientGlobalConfig = ({
|
||||
}
|
||||
})
|
||||
|
||||
if ('custom' in sanitized && sanitized.custom) {
|
||||
if ('server' in sanitized.custom && sanitized.custom.server) {
|
||||
delete sanitized.custom.server
|
||||
}
|
||||
}
|
||||
|
||||
if ('admin' in sanitized) {
|
||||
sanitized.admin = { ...sanitized.admin }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user