mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
change criteria to detect self-redeeming
This commit is contained in:
parent
b0a9da74c4
commit
778c61c2dc
@ -128,8 +128,11 @@ const itemType = computed(() => {
|
||||
return 'REDEEM_SELECT_COMMUNITY'
|
||||
}
|
||||
if (
|
||||
linkData.value.recipientUser &&
|
||||
store.state.gradidoID === linkData.value.recipientUser.gradidoID
|
||||
(!isDisbursementLink.value &&
|
||||
linkData.value.recipientUser &&
|
||||
store.state.gradidoID === linkData.value.recipientUser.gradidoID) ||
|
||||
(isDisbursementLink.value &&
|
||||
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