Fixed the typo: recheduleLoansData → rescheduleLoansData (added missing 's')
This commit is contained in:
+2
-2
@@ -96,8 +96,8 @@ export class RescheduleLoanComponent {
|
||||
private translateService: TranslateService,
|
||||
private tasksService: TasksService
|
||||
) {
|
||||
this.route.data.subscribe((data: { recheduleLoansData: any }) => {
|
||||
this.loans = data.recheduleLoansData;
|
||||
this.route.data.subscribe((data: { rescheduleLoansData: any }) => {
|
||||
this.loans = data.rescheduleLoansData;
|
||||
this.dataSource = new MatTableDataSource(this.loans);
|
||||
this.selection = new SelectionModel(true, []);
|
||||
});
|
||||
|
||||
@@ -71,7 +71,7 @@ const routes: Routes = [
|
||||
component: RescheduleLoanComponent,
|
||||
data: { title: 'Reschedule Loan' },
|
||||
resolve: {
|
||||
recheduleLoansData: GetRescheduleLoans
|
||||
rescheduleLoansData: GetRescheduleLoans
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user