forked from AkkomaGang/admin-fe
Fix wrapping atoms that should be prepended with colon
This commit is contained in:
parent
bcf958f196
commit
92881ead81
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ const parseProxyUrl = value => {
|
|||
|
||||
const prependWithСolon = (type, value) => {
|
||||
return (type === 'atom' && value.length > 0) ||
|
||||
(Array.isArray(type) && type.includes('atom') && typeof value === 'string')
|
||||
(Array.isArray(type) && type.includes('boolean') && type.includes('atom') && typeof value === 'string')
|
||||
}
|
||||
|
||||
export const processNested = (valueForState, valueForUpdatedSettings, group, parentKey, parents, settings, updatedSettings) => {
|
||||
|
|
Loading…
Reference in a new issue