Skip to content

Commit

Permalink
Merge pull request #5110 from kiva/fix-redirect-to-loan-classic-MARS-358
Browse files Browse the repository at this point in the history
fix: user that has lent to a borrower was not being redirected due to…
  • Loading branch information
christian14b authored Jan 3, 2024
2 parents dfc5546 + 88d7b05 commit 2846278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/BorrowerProfile/BorrowerProfile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ export default {
const amountLeft = Number(loanAmount) - Number(fundedAmount);
const loanStatus = loan?.status !== 'fundraising';
redirectToLendClasic = !amountLeft && loanStatus;
redirectToLendClasic = !amountLeft || loanStatus;
}
if (redirectToLendClasic) {
Expand Down

0 comments on commit 2846278

Please sign in to comment.