From b97837d41517c91b5e36984af1e4b379e2827117 Mon Sep 17 00:00:00 2001 From: ogerly Date: Thu, 10 Mar 2022 10:34:48 +0100 Subject: [PATCH] test data for displaySetup in ShowTransactionLinkInformations.vue --- .../pages/ShowTransactionLinkInformations.vue | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) 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 @@
+
resultDB : {{ resultDB }}

{{ 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 }, }