From 601aa378e256f45c7548e36a40b346aee96382b2 Mon Sep 17 00:00:00 2001
From: clauspeterhuebner
Date: Wed, 23 Apr 2025 02:16:04 +0200
Subject: [PATCH] adapt properties on changed disbursement datalink
---
.../LinkInformations/RedeemInformation.vue | 19 +++++++++----------
.../LinkInformations/RedeemValid.vue | 7 ++++++-
2 files changed, 15 insertions(+), 11 deletions(-)
diff --git a/frontend/src/components/LinkInformations/RedeemInformation.vue b/frontend/src/components/LinkInformations/RedeemInformation.vue
index 6793240e2..71c2f9312 100644
--- a/frontend/src/components/LinkInformations/RedeemInformation.vue
+++ b/frontend/src/components/LinkInformations/RedeemInformation.vue
@@ -1,16 +1,16 @@
- {{ $t('gdd_per_link.redeemlink-error') }}
-
+ {{ $t('gdd_per_link.redeemlink-error') }}
+
{{ CONFIG.COMMUNITY_NAME }}
- {{ $t('contribution-link.thanksYouWith') }} {{ $filters.GDD(amount) }}
+ {{ $t('contribution-link.thanksYouWith') }} {{ $filters.GDD(linkData.amount) }}
-
- {{ user.firstName }}
- {{ $t('transaction-link.send_you') }} {{ $filters.GDD(amount) }}
+
+ {{ linkData.senderCommunity.name + '.' + linkData.senderUser.firstName }}
+ {{ $t('transaction-link.send_you') }} {{ $filters.GDD(linkData.amount) }}
- {{ memo }}
+ {{ linkData.memo }}
@@ -20,10 +20,9 @@ import CONFIG from '@/config'
export default {
name: 'RedeemInformation',
props: {
- user: { type: Object, required: false },
- amount: { type: String, required: true },
- memo: { type: String, required: true, default: '' },
+ linkData: { type: Object, required: true },
isContributionLink: { type: Boolean, default: false },
+ isDisbursementLink: { type: Boolean, default: false },
},
data() {
return {
diff --git a/frontend/src/components/LinkInformations/RedeemValid.vue b/frontend/src/components/LinkInformations/RedeemValid.vue
index d97de8b5f..d540e53f3 100644
--- a/frontend/src/components/LinkInformations/RedeemValid.vue
+++ b/frontend/src/components/LinkInformations/RedeemValid.vue
@@ -1,6 +1,10 @@