fix: Loan Product using global configurations for repayments

This commit is contained in:
Jose Alberto Hernandez
2024-07-04 00:07:57 -06:00
committed by Jose Alberto Hernandez
parent 5a79d5d290
commit 55b5ce616f
8 changed files with 17 additions and 8 deletions
@@ -24,7 +24,7 @@ export class FormatAmountDirective implements OnInit {
target.value = this.parse(target.value);
}
@HostListener('focus', ['$event.target']) focus(target: any) {
if (typeof this.control.value == 'undefined') {
if (typeof this.control.value === 'undefined') {
target.value = '';
} else {
target.value = this.control.value;