From 264e3ab65185c70cf4da6a3bb7ca475d78310f84 Mon Sep 17 00:00:00 2001 From: Josh Harvey Date: Mon, 26 Mar 2018 12:12:08 +0300 Subject: [PATCH] fix enabledIf bug --- lib/admin/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/admin/config.js b/lib/admin/config.js index dd4347cd..c6e189bb 100644 --- a/lib/admin/config.js +++ b/lib/admin/config.js @@ -104,7 +104,7 @@ function fetchConfigGroup (code) { 'fiatCurrency' ] - const smush = _.flow(_.flatten, _.compact, _.uniq) + const smush = _.flow(_.flattenDeep, _.compact, _.uniq) const configFields = smush(candidateFields) // Expand this to check against full schema