Add missed labels for Loan COB steps

This commit is contained in:
Jose Alberto Hernandez
2024-12-13 12:11:06 -05:00
committed by Jose Alberto Hernandez
parent c4338b44f0
commit 69ef977d88
15 changed files with 16 additions and 6 deletions
@@ -145,7 +145,6 @@ export class ChargesComponent implements OnInit, AfterViewInit {
}
filterByAppliesTo(chargeAppliesTo: number) {
console.log(chargeAppliesTo);
const filteredCharges: Charge[] = this.chargeData.filter((charge: Charge) => {
return (charge.chargeAppliesTo.id === chargeAppliesTo);
});
@@ -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;