Fix GET workflow job names response handling

This commit is contained in:
Norbert Táskai
2023-01-24 14:38:18 +01:00
parent 9ed38f0f7b
commit 0105b12d2f
@@ -37,7 +37,9 @@ export class WorkflowJobsComponent implements OnInit {
ngOnInit(): void {
this.systemService.getWorkflowJobNames().toPromise()
.then(jobNames => {
this.jobNameOptions = jobNames;
this.jobNameOptions = jobNames.businessJobs.sort(function (a: any, b: any) {
return a.stepName - b.stepName;
});
});
}