Fix conditional check in ApiModal
This commit is contained in:
parent
aa1515a96d
commit
e9db0bffc0
1 changed files with 3 additions and 0 deletions
|
|
@ -98,6 +98,9 @@ const ApiModal = forwardRef(
|
||||||
let arrNodesWithValues: string[] = [];
|
let arrNodesWithValues: string[] = [];
|
||||||
|
|
||||||
flow["data"]!["nodes"].forEach((node) => {
|
flow["data"]!["nodes"].forEach((node) => {
|
||||||
|
if (!node["data"]["node"]["template"]) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
Object.keys(node["data"]["node"]["template"])
|
Object.keys(node["data"]["node"]["template"])
|
||||||
.filter(
|
.filter(
|
||||||
(templateField) =>
|
(templateField) =>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue