diff --git a/frontend/src/AngularWorkflow.js b/frontend/src/AngularWorkflow.js index c7eb31a1..585555d0 100644 --- a/frontend/src/AngularWorkflow.js +++ b/frontend/src/AngularWorkflow.js @@ -20,6 +20,7 @@ import Divider from '@material-ui/core/Divider'; import Dialog from '@material-ui/core/Dialog'; import DialogActions from '@material-ui/core/DialogActions'; import DialogTitle from '@material-ui/core/DialogTitle'; +import InputLabel from '@material-ui/core/InputLabel'; import DialogContent from '@material-ui/core/DialogContent'; import FormControl from '@material-ui/core/FormControl'; import IconButton from '@material-ui/core/IconButton'; @@ -906,6 +907,15 @@ const AngularWorkflow = (props) => { //setStartNode(node.data('id')) workflow.start = node.data('id') setWorkflow(workflow) + } else { + if (workflow.actions === null) { + return + } + + for (var key in workflow.actions) { + const action = workflow.actions[key] + console.log("ACTION: ", action) + } } } @@ -2636,9 +2646,9 @@ const AngularWorkflow = (props) => { : null} {workflow.execution_variables !== undefined && workflow.execution_variables !== null && workflow.execution_variables.length > 0 ?