Merge branch 'dev' of github.com:sartography/cr-connect-bpmn into dev
This commit is contained in:
commit
b671a300c8
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue