treat senderUser as optional

This commit is contained in:
clauspeterhuebner 2025-04-22 21:55:48 +02:00
parent 9239df58e4
commit 1749d79fb4

View File

@ -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,