hotfix: fixing frontend breaking changes

This commit is contained in:
Aditya
2024-06-13 02:53:03 +05:30
parent 2e3f80faf9
commit 5c86e45aa0
+4
View File
@@ -11733,6 +11733,10 @@ const AngularWorkflow = (defaultprops) => {
let listWithValues = workflow.triggers[selectedTriggerIndex].parameters[5]?.value.split(";").filter(e => e).map(e => e.split("="))
console.log("LIST WITH VALUES: ", listWithValues)
if (listWithValues === undefined || listWithValues === null || listWithValues.length === 0) {
return "no-overrides";
}
for (let i = 0; i < listWithValues.length; i++) {
mappingWithName[listWithValues[i][0]] = listWithValues[i][1]
}