From 1749d79fb41dcd9821e56383c5c4b7423cd0b938 Mon Sep 17 00:00:00 2001 From: clauspeterhuebner Date: Tue, 22 Apr 2025 21:55:48 +0200 Subject: [PATCH] treat senderUser as optional --- .../components/LinkInformations/RedeemCommunitySelection.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/LinkInformations/RedeemCommunitySelection.vue b/frontend/src/components/LinkInformations/RedeemCommunitySelection.vue index 0f9ae50a9..7b11646b5 100644 --- a/frontend/src/components/LinkInformations/RedeemCommunitySelection.vue +++ b/frontend/src/components/LinkInformations/RedeemCommunitySelection.vue @@ -123,7 +123,7 @@ async function onSwitch(event) { console.log('RedeemCommunitySelection.onSwitch... props=', props) if (isForeignCommunitySelected.value) { console.log('RedeemCommunitySelection.onSwitch vor createRedeemJwt params:', { - gradidoID: props.linkData.senderUser.gradidoID, + gradidoID: props.linkData.senderUser?.gradidoID, senderCommunityUuid: senderCommunity.value.uuid, senderCommunityName: senderCommunity.value.name, receiverCommunityUuid: currentReceiverCommunity.value.uuid,