Skip to content

Commit

Permalink
fix: prevent javascript error if there's no loan
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-ludwig committed Nov 22, 2021
1 parent 116fda2 commit 0a18ad3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/BorrowerProfile/DetailsTabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,8 @@ export default {
this.loan.loanTermLenderRepaymentTerm = loan?.terms?.lenderRepaymentTerm ?? 0;
this.loan.lossLiabilityCurrencyExchange = loan?.terms?.lossLiabilityCurrencyExchange ?? '';
this.loan.repaymentInterval = loan?.repaymentInterval ?? '';
this.loan.disbursalDate = loan.disbursalDate ?? '';
this.loan.status = loan.status ?? '';
this.loan.disbursalDate = loan?.disbursalDate ?? '';
this.loan.status = loan?.status ?? '';
this.partner.arrearsRate = partner?.arrearsRate ?? 0;
this.partner.avgBorrowerCost = partner?.avgBorrowerCost ?? 0;
Expand Down

0 comments on commit 0a18ad3

Please sign in to comment.