Add new interest pause and list existing interest pause periods of the loan
This commit is contained in:
committed by
Jose Alberto Hernandez
parent
a6455212fd
commit
d04890fd3f
@@ -1,6 +1,6 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { ActivatedRoute, NavigationExtras, Router } from '@angular/router';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
|
||||
/** Custom Services */
|
||||
@@ -236,7 +236,13 @@ export class LoansViewComponent implements OnInit {
|
||||
this.undoLoanAction(actionName);
|
||||
break;
|
||||
default:
|
||||
this.router.navigate(['actions', actionName], { relativeTo: this.route });
|
||||
const navigationExtras: NavigationExtras = {
|
||||
relativeTo: this.route,
|
||||
state: {
|
||||
data: this.loanDetailsData
|
||||
}
|
||||
};
|
||||
this.router.navigate(['actions', actionName], navigationExtras);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user