diff --git a/frontend/src/_helpers/appUtils.js b/frontend/src/_helpers/appUtils.js index 0bbf3bf024..901e230c2b 100644 --- a/frontend/src/_helpers/appUtils.js +++ b/frontend/src/_helpers/appUtils.js @@ -264,7 +264,7 @@ function getQueryVariables(options, state) { _.merge(queryVariables, getQueryVariables(element, state)) }) } else if(typeof options ==="object") { - Object.keys(options).forEach((key) => { + Object.keys(options || {}).forEach((key) => { _.merge(queryVariables, getQueryVariables(options[key], state)) }) }