feat: add recurring deposit account tab (datatables) (#987)

Fixes: 986
This commit is contained in:
Muskan Khedia
2020-07-04 12:58:20 +05:30
committed by GitHub
parent 0cfc7af07a
commit 19c6dee1a5
17 changed files with 636 additions and 6 deletions
@@ -24,7 +24,7 @@ export class SavingsDatatableResolver implements Resolve<Object> {
* @returns {Observable<any>}
*/
resolve(route: ActivatedRouteSnapshot): Observable<any> {
const accountId = route.parent.parent.paramMap.get('savingAccountId') || route.parent.parent.paramMap.get('fixedDepositAccountId');
const accountId = route.parent.parent.paramMap.get('savingAccountId') || route.parent.parent.paramMap.get('fixedDepositAccountId') || route.parent.parent.paramMap.get('recurringDepositAccountId');
const datatableName = route.paramMap.get('datatableName');
return this.savingsService.getSavingsDatatable(accountId, datatableName);
}