Skip to content

Commit d004061

Browse files
authored
Resolution to Web-118 with slight additional modification.
This commit implements the recent minor alternation, as recommended by CodeRabbit.
1 parent 682e2cf commit d004061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/loans/loans-account-stepper/loans-account-details-step/loans-account-details-step.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ export class LoansAccountDetailsStepComponent implements OnInit, OnDestroy {
199199
this.loanOfficerOptions = response.loanOfficerOptions;
200200
this.loanPurposeOptions = response.loanPurposeOptions;
201201
this.fundOptions = response.fundOptions;
202-
this.accountLinkingOptions = response.accountLinkingOptions.filter((acc: any) => !acc.clientId);
202+
this.accountLinkingOptions = (response.accountLinkingOptions ?? []).filter((acc: any) => !acc.clientId);
203203
this.loanProductSelected = true;
204204
if (response.createStandingInstructionAtDisbursement) {
205205
this.loansAccountDetailsForm

0 commit comments

Comments
 (0)