Skip to content

Commit

Permalink
fix: debugging with console statements for testing experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
michelleinez committed Dec 17, 2024
1 parent e5c850e commit 0cc6a18
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/pages/LoanFinding/LoanFinding.vue
Original file line number Diff line number Diff line change
Expand Up @@ -455,14 +455,23 @@ export default {
}
},
created() {
const loanRecommendationsData = trackExperimentVersion(
this.apollo,
this.$kvTrackEvent,
'Lending',
LOAN_RECOMMENDATIONS_EXP_KEY,
'EXP-DSCI-2167-Dec2024'
);
this.enableLoanRecommendations = loanRecommendationsData.version === 'b';
const cachedUserInfo = this.apollo.readQuery({
query: userInfoQuery,
});
this.userInfo = cachedUserInfo.my?.userAccount ?? {};
let cachedRecommendedLoans = [];
if (this.enableLoanRecommendations) {
const recommendedLoansData = this.apollo.readQuery({
query: loanRecommendationsQueryExtended,
Expand Down Expand Up @@ -521,15 +530,6 @@ export default {
);
this.enableAlmostFundedRow = almostFundedRowTestData.version === 'b';
const loanRecommendationsData = trackExperimentVersion(
this.apollo,
this.$kvTrackEvent,
'Lending',
LOAN_RECOMMENDATIONS_EXP_KEY,
'EXP-DSCI-2167-Dec2024'
);
this.enableLoanRecommendations = loanRecommendationsData.version === 'b';
this.firstRowLoans = [
...cachedRecommendedLoans,
{ id: 0 }, { id: 0 },
Expand Down

0 comments on commit 0cc6a18

Please sign in to comment.