Merge pull request #1655 from taskain7/fix-get-workflow-job-names-response
Fix GET workflow job names response handling
This commit is contained in:
@@ -37,7 +37,9 @@ export class WorkflowJobsComponent implements OnInit {
|
|||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
this.systemService.getWorkflowJobNames().toPromise()
|
this.systemService.getWorkflowJobNames().toPromise()
|
||||||
.then(jobNames => {
|
.then(jobNames => {
|
||||||
this.jobNameOptions = jobNames;
|
this.jobNameOptions = jobNames.businessJobs.sort(function (a: any, b: any) {
|
||||||
|
return a.stepName - b.stepName;
|
||||||
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user