mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
Fix for preview errors if options contains null
This commit is contained in:
parent
347403edbd
commit
0547b2b25b
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue