refactor: loans module (#1237)

This commit is contained in:
Muskan Khedia
2020-08-30 19:50:58 +05:30
committed by GitHub
parent d357263c3e
commit 3c858e308c
83 changed files with 1480 additions and 1369 deletions
@@ -20,8 +20,8 @@ export class RepaymentScheduleTabComponent implements OnInit {
* @param {ActivatedRoute} route Activated Route.
*/
constructor(private route: ActivatedRoute) {
this.route.data.subscribe(( data: { loanDetailsAssociationData: any }) => {
this.repaymentScheduleDetails = data.loanDetailsAssociationData.repaymentSchedule;
this.route.parent.data.subscribe((data: { loanDetailsData: any }) => {
this.repaymentScheduleDetails = data.loanDetailsData.repaymentSchedule;
});
}