Passing ng test
This commit is contained in:
parent
4d57c53658
commit
55895b6843
|
@ -167,7 +167,9 @@ export class WorkflowSpecListComponent implements OnInit {
|
|||
dialogRef.afterClosed().subscribe((data: DeleteWorkflowSpecDialogData) => {
|
||||
if (data && data.confirm && data.workflowSpec) {
|
||||
this._deleteWorkflowSpec(data.workflowSpec);
|
||||
this.selectSpec(this.masterStatusSpec);
|
||||
|
||||
this.selectedSpec = this.masterStatusSpec
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -209,7 +211,6 @@ export class WorkflowSpecListComponent implements OnInit {
|
|||
|
||||
this.api.getWorkflowSpecList().subscribe(wfs => {
|
||||
this.workflowSpecs = wfs;
|
||||
|
||||
this.workflowSpecsByCategory.forEach(cat => {
|
||||
cat.workflow_specs = this.workflowSpecs
|
||||
.filter(wf => {
|
||||
|
|
Loading…
Reference in New Issue