mirror of
https://github.com/sartography/cr-connect-bpmn.git
synced 2025-03-02 17:10:39 +00:00
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) => {
|
dialogRef.afterClosed().subscribe((data: DeleteWorkflowSpecDialogData) => {
|
||||||
if (data && data.confirm && data.workflowSpec) {
|
if (data && data.confirm && data.workflowSpec) {
|
||||||
this._deleteWorkflowSpec(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) {
|
if (isNew) {
|
||||||
this._addWorkflowSpec(newSpec);
|
this._addWorkflowSpec(newSpec);
|
||||||
|
this.selectSpec(newSpec);
|
||||||
} else {
|
} else {
|
||||||
this._updateWorkflowSpec(data.id, newSpec);
|
this._updateWorkflowSpec(data.id, newSpec);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user