Fix conditional check in ApiModal

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-03-06 11:22:30 -03:00
commit e9db0bffc0

View file

@ -98,6 +98,9 @@ const ApiModal = forwardRef(
let arrNodesWithValues: string[] = [];
flow["data"]!["nodes"].forEach((node) => {
if (!node["data"]["node"]["template"]) {
return;
}
Object.keys(node["data"]["node"]["template"])
.filter(
(templateField) =>