Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/development'
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Tervala authored and Justin Tervala committed Nov 3, 2017
2 parents 5ae4289 + 5aeb8b1 commit 192adcb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/playbook/main.js
Expand Up @@ -884,6 +884,8 @@ $(function(){

var steps = _.map(workflowData, function (step) {
var ret = _.cloneDeep(step.data.parameters);
// Remove "start" parameter as it's not part of the actual schema
ret.start = undefined;
ret.position = _.clone(step.position);
return ret;
});
Expand Down Expand Up @@ -1100,7 +1102,7 @@ $(function(){
toggleOffOnLeave: true,
complete: function( sourceNode, targetNodes, addedEntities ) {
var sourceParameters = sourceNode.data().parameters;
if (!sourceParameters.hasOwnProperty("next"))
if (!sourceParameters.next_steps)
sourceParameters.next_steps = [];

// The edge handles extension is not integrated into the undo/redo extension.
Expand Down

0 comments on commit 192adcb

Please sign in to comment.