Skip to content

Commit

Permalink
fix: resolve issues with process instant lending
Browse files Browse the repository at this point in the history
  • Loading branch information
dyersituations committed Aug 19, 2024
1 parent d24aa8a commit 71bf2be
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pages/InstantActions/ProcessInstantLending.vue
Original file line number Diff line number Diff line change
Expand Up @@ -181,14 +181,15 @@ export default {
loan: () => {},
loanAdded: false,
mdiMapMarker,
showError: false
showError: false,
contentfulContent: null,
};
},
apollo: {
query: processInstantLendingContent,
preFetch: true,
preFetchVariables({ route }) {
return { loanId: parseInt(route.params.loanId, 10) };
return { loanId: parseInt(route?.value?.params?.loanId, 10) };
},
variables() {
return { loanId: parseInt(this.$route.params.loanId, 10) };
Expand Down

0 comments on commit 71bf2be

Please sign in to comment.