Fix wrapping atoms that should be prepended with colon

This commit is contained in:
Angelina Filippova 2020-07-27 22:42:44 +03:00
parent bcf958f196
commit 92881ead81

View file

@ -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) => {