Updated version with migration built-in

This commit is contained in:
frikky
2021-06-22 13:38:54 +02:00
parent d2b50cfa14
commit 336928c8a3
12 changed files with 268 additions and 120 deletions
+1 -1
View File
@@ -6148,7 +6148,7 @@ const AngularWorkflow = (props) => {
{subworkflow.actions.map((action, index) => {
//console.log(action)
return (
<MenuItem disabled={getParents(selectedTrigger).find(parent => parent.id === action.id)} key={index} style={{backgroundColor: inputColor, color: "white"}} value={action}>
<MenuItem key={index} style={{backgroundColor: inputColor, color: getParents(selectedTrigger).find(parent => parent.id === action.id) ? "red" : "white"}} value={action}>
{action.label}
</MenuItem>
)