Skip to content

Commit

Permalink
fix: ensure corporate lenders opting-out of a team don't have that te…
Browse files Browse the repository at this point in the history
…am applied to their loans
  • Loading branch information
mcstover committed Nov 18, 2021
1 parent d03f7c8 commit b49f0c8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pages/LandingPages/CorporateCampaign/CCLandingPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,11 @@ export default {
query: myTeamsQuery
}).then(({ data }) => {
this.myTeams = data.my?.lender?.teams?.values ?? [];
this.addTeamToLoans();
if (this.teamJoinStatus !== 'declined') {
this.addTeamToLoans();
} else {
this.showCheckout();
}
});
},
addTeamToLoans() {
Expand Down

0 comments on commit b49f0c8

Please sign in to comment.