diff --git a/frontend/src/components/LinkInformations/RedeemInformation.vue b/frontend/src/components/LinkInformations/RedeemInformation.vue
index 71c2f9312..99b0bf440 100644
--- a/frontend/src/components/LinkInformations/RedeemInformation.vue
+++ b/frontend/src/components/LinkInformations/RedeemInformation.vue
@@ -6,10 +6,10 @@
{{ CONFIG.COMMUNITY_NAME }}
{{ $t('contribution-link.thanksYouWith') }} {{ $filters.GDD(linkData.amount) }}
-
- {{ linkData.senderCommunity.name + '.' + linkData.senderUser.firstName }}
+
+ {{ '"' + linkData.senderCommunity.name + '.' + linkData.senderUser.firstName }}
{{ $t('transaction-link.send_you') }} {{ $filters.GDD(linkData.amount) }}
-
+
{{ linkData.memo }}
diff --git a/frontend/src/pages/TransactionLink.vue b/frontend/src/pages/TransactionLink.vue
index e7b5cdbdf..15256a814 100644
--- a/frontend/src/pages/TransactionLink.vue
+++ b/frontend/src/pages/TransactionLink.vue
@@ -136,6 +136,7 @@ const itemType = computed(() => {
}
if (!linkData.value.redeemedAt && !linkData.value.deletedAt) {
console.log('TransactionLink.itemType... VALID')
+ console.log('TransactionLink.itemType... validLink=', validLink.value)
return 'VALID'
}
}
@@ -235,6 +236,19 @@ function setDisbursementLinkInformation() {
linkData.value = queryTransactionLink
console.log('TransactionLink.setDisbursementLinkInformation... linkData.value=', linkData.value)
}
+ // recipientUser is only set if the user is logged in
+ if (store.state.gradidoID !== null) {
+ console.log('TransactionLink.setDisbursementLinkInformation... setting recipientUser')
+ linkData.value.recipientUser = {
+ gradidoID: store.state.gradidoID,
+ firstName: store.state.firstName,
+ alias: store.state.alias,
+ }
+ console.log(
+ 'TransactionLink.setDisbursementLinkInformation... recipientUser=',
+ linkData.value.recipientUser,
+ )
+ }
}
async function mutationLink(amount) {