Merge branch 'dev' of github.com:sartography/cr-connect-bpmn into dev

This commit is contained in:
Dan 2021-07-07 12:04:57 -04:00
commit b671a300c8
1 changed files with 4 additions and 1 deletions

View File

@ -184,7 +184,9 @@ export class WorkflowSpecListComponent implements OnInit {
dialogRef.afterClosed().subscribe((data: DeleteWorkflowSpecDialogData) => {
if (data && data.confirm && data.workflowSpec) {
this._deleteWorkflowSpec(data.workflowSpec);
this.selectedSpec = this.masterStatusSpec;
if (typeof this.masterStatusSpec !== 'undefined') {
this.selectSpec(this.masterStatusSpec);
}
}
});
}
@ -272,6 +274,7 @@ export class WorkflowSpecListComponent implements OnInit {
if (isNew) {
this._addWorkflowSpec(newSpec);
this.selectSpec(newSpec);
} else {
this._updateWorkflowSpec(data.id, newSpec);
}