Skip to content

Commit

Permalink
fix: remove this reference from template
Browse files Browse the repository at this point in the history
  • Loading branch information
dyersituations committed Jul 31, 2024
1 parent 5cffd44 commit 3ac0bac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/Thanks/ThanksPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@
</h2>
<kv-button
:href="`/ui-login?force=true&doneUrl=${
(this.$route.query.kiva_transaction_id && this.$route.query.kiva_transaction_id !== null)
? encodeURIComponent(this.$route.fullPath)
($route.query.kiva_transaction_id && $route.query.kiva_transaction_id !== null)
? encodeURIComponent($route.fullPath)
: encodeURIComponent('/portfolio')
}`"
>
Expand All @@ -116,7 +116,7 @@
<template v-else>
Please log in to see your receipt.
<kv-button
:href="`/ui-login?force=true&doneUrl=${encodeURIComponent(this.$route.fullPath)}`"
:href="`/ui-login?force=true&doneUrl=${encodeURIComponent($route.fullPath)}`"
class="tw-ml-1"
>
Log in to continue
Expand Down

0 comments on commit 3ac0bac

Please sign in to comment.