diff --git a/frontend/src/pages/ShowTransactionLinkInformations.vue b/frontend/src/pages/ShowTransactionLinkInformations.vue index c56db14d6..b3ddd287c 100644 --- a/frontend/src/pages/ShowTransactionLinkInformations.vue +++ b/frontend/src/pages/ShowTransactionLinkInformations.vue @@ -4,6 +4,7 @@
{{ displaySetup.user.firstName }} {{ displaySetup.user.lastName }} {{ $t('wants to send you') }} {{ displaySetup.amount | GDD }} @@ -25,7 +26,16 @@ export default { name: 'ShowTransactionLinkInformations', data() { return { - displaySetup: {}, + resultDB: {}, + displaySetup: { + amount: '123456', + linkTo: '', + user: { + publisherId: 1, + firstName: 'testName', + lastName: 'testOgerly', + }, + }, } }, methods: { @@ -41,6 +51,7 @@ export default { const { data: { queryTransactionLink }, } = result + this.resultDB = queryTransactionLink this.displaySetup = queryTransactionLink this.$store.commit('publisherId', queryTransactionLink.user.publisherId) }) @@ -50,7 +61,8 @@ export default { }, }, created() { - this.setDisplaySetup() + this.setTransactionLinkInformation() + this.displaySetup.linkTo = this.$route.params.code }, }