Add missed labels for Loan COB steps
This commit is contained in:
committed by
Jose Alberto Hernandez
parent
c4338b44f0
commit
69ef977d88
@@ -9,7 +9,7 @@
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
|
||||
<div class="action-button" fxLayoutGap="25px" *ngIf="jobStepsData.length > 0">
|
||||
<div class="action-button" fxLayoutGap="25px" *ngIf="jobStepName">
|
||||
<button mat-raised-button color="primary" (click)="addJobStep()">
|
||||
<fa-icon icon="plus" class="m-r-10"></fa-icon>{{ 'labels.buttons.Link Job Step' | translate}}
|
||||
</button>
|
||||
|
||||
@@ -50,8 +50,7 @@ export class WorkflowJobsComponent implements OnInit {
|
||||
* @param {string} jobName Value to Workflow Job name.
|
||||
*/
|
||||
getWorkflowJobSteps(jobName: string) {
|
||||
this.systemService.getWorkflowJobSteps(jobName).toPromise()
|
||||
.then(data => {
|
||||
this.systemService.getWorkflowJobSteps(jobName).subscribe((data: any) => {
|
||||
this.jobStepName = jobName;
|
||||
this.jobStepsData = data.businessSteps.sort(function (a: JobStep, b: JobStep) {
|
||||
return a.order - b.order;
|
||||
|
||||
Reference in New Issue
Block a user