correct check itemType for SELF_CREATOR

This commit is contained in:
clauspeterhuebner 2025-05-07 16:34:37 +02:00
parent 7557cbdc5b
commit b074de3cb1

View File

@ -177,13 +177,13 @@ const itemType = computed(() => {
linkData.value.senderUser?.gradidoID, linkData.value.senderUser?.gradidoID,
) )
if ( if (
(!isRedeemJwtLink.value && // (!isRedeemJwtLink.value &&
linkData.value.recipientUser && // linkData.value.recipientUser &&
store.state.gradidoID === linkData.value.recipientUser.gradidoID) || // store.state.gradidoID === linkData.value.recipientUser.gradidoID) ||
(isRedeemJwtLink.value && // isRedeemJwtLink.value &&
linkData.value.senderUser && linkData.value.senderUser &&
linkData.value.recipientUser && linkData.value.recipientUser &&
linkData.value.senderUser.gradidoID === linkData.value.recipientUser.gradidoID) linkData.value.senderUser.gradidoID === linkData.value.recipientUser.gradidoID
) { ) {
console.log('TransactionLink.itemType... SELF_CREATOR') console.log('TransactionLink.itemType... SELF_CREATOR')
return 'SELF_CREATOR' return 'SELF_CREATOR'