fix enabledIf bug

This commit is contained in:
Josh Harvey 2018-03-26 12:12:08 +03:00
parent dfd8400da9
commit 264e3ab651

View file

@ -104,7 +104,7 @@ function fetchConfigGroup (code) {
'fiatCurrency' 'fiatCurrency'
] ]
const smush = _.flow(_.flatten, _.compact, _.uniq) const smush = _.flow(_.flattenDeep, _.compact, _.uniq)
const configFields = smush(candidateFields) const configFields = smush(candidateFields)
// Expand this to check against full schema // Expand this to check against full schema