mirror of
https://github.com/IT4Change/gradido.git
synced 2026-03-28 21:25:32 +00:00
correct check itemType for SELF_CREATOR
This commit is contained in:
parent
7557cbdc5b
commit
b074de3cb1
@ -177,13 +177,13 @@ const itemType = computed(() => {
|
||||
linkData.value.senderUser?.gradidoID,
|
||||
)
|
||||
if (
|
||||
(!isRedeemJwtLink.value &&
|
||||
linkData.value.recipientUser &&
|
||||
store.state.gradidoID === linkData.value.recipientUser.gradidoID) ||
|
||||
(isRedeemJwtLink.value &&
|
||||
linkData.value.senderUser &&
|
||||
linkData.value.recipientUser &&
|
||||
linkData.value.senderUser.gradidoID === linkData.value.recipientUser.gradidoID)
|
||||
// (!isRedeemJwtLink.value &&
|
||||
// linkData.value.recipientUser &&
|
||||
// store.state.gradidoID === linkData.value.recipientUser.gradidoID) ||
|
||||
// isRedeemJwtLink.value &&
|
||||
linkData.value.senderUser &&
|
||||
linkData.value.recipientUser &&
|
||||
linkData.value.senderUser.gradidoID === linkData.value.recipientUser.gradidoID
|
||||
) {
|
||||
console.log('TransactionLink.itemType... SELF_CREATOR')
|
||||
return 'SELF_CREATOR'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user