Skip to content

Commit

Permalink
fix: make loan product save when "Enable installment" was clicked and…
Browse files Browse the repository at this point in the history
… Delinquency removed

If the user deselects the Delinquency, but the "Enable installment" checkbox was ticked, saving failed.

Fixes: WEB-25
  • Loading branch information
steinwinde authored and adamsaghy committed Feb 25, 2025
1 parent 10ca469 commit a8bc3f3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,8 @@ export class LoanProductSettingsStepComponent implements OnInit {
clearProperty($event: Event, propertyName: string): void {
if (propertyName === 'delinquencyBucketId') {
this.loanProductSettingsForm.patchValue({
delinquencyBucketId: ''
delinquencyBucketId: '',
enableInstallmentLevelDelinquency: false
});
}
this.loanProductSettingsForm.markAsDirty();
Expand Down

0 comments on commit a8bc3f3

Please sign in to comment.