refactor: Loans Module (#1150)

Fixes: #1149
This commit is contained in:
Muskan Khedia
2020-07-22 20:32:55 +05:30
committed by GitHub
parent f618bb3cda
commit 55280eae2a
65 changed files with 622 additions and 470 deletions
@@ -99,7 +99,7 @@ export class RecurringDepositsAccountViewComponent implements OnInit {
}
if (!this.isprematureAllowed) {
this.buttonConfig.addOption({
this.buttonConfig.addButton({
name: 'Close',
icon: 'fa fa-arrow-right'
});
@@ -133,4 +133,8 @@ export class RecurringDepositsButtonsConfiguration {
this.optionArray.push(option);
}
addButton(option: { name: string, icon: string, taskPermissionName?: string }) {
this.buttonsArray.push(option);
}
}