change transactionLinkId to linkId.

This commit is contained in:
elweyn 2022-12-06 12:20:21 +01:00
parent ffb5988760
commit d52f7f9590
6 changed files with 12 additions and 12 deletions

View File

@ -42,7 +42,7 @@ export class Transaction {
this.creationDate = transaction.creationDate
this.linkedUser = linkedUser
this.linkedTransactionId = transaction.linkedTransactionId
this.transactionLinkId = transaction.contribution
this.linkId = transaction.contribution
? transaction.contribution.contributionLinkId
: transaction.transactionLinkId
}
@ -83,7 +83,7 @@ export class Transaction {
@Field(() => Number, { nullable: true })
linkedTransactionId?: number | null
// Links to the TransactionLink when transaction was created by a link
// Links to the TransactionLink/ContributionLink when transaction was created by a link
@Field(() => Number, { nullable: true })
transactionLinkId?: number | null
linkId?: number | null
}

View File

@ -16,7 +16,7 @@
</b-link>
</span>
<span v-else>{{ itemText }}</span>
<span v-if="transactionLinkId">
<span v-if="linkId">
{{ $t('via_link') }}
<b-icon
icon="link45deg"
@ -46,7 +46,7 @@ export default {
type: String,
required: false,
},
transactionLinkId: {
linkId: {
type: Number,
required: false,
default: null,

View File

@ -16,7 +16,7 @@
:amount="amount"
:linkedUser="linkedUser"
v-on="$listeners"
:transactionLinkId="transactionLinkId"
:linkId="linkId"
/>
<!-- Nachricht Memo -->
@ -82,7 +82,7 @@ export default {
type: String,
required: true,
},
transactionLinkId: {
linkId: {
type: Number,
required: false,
},

View File

@ -17,7 +17,7 @@
v-on="$listeners"
:amount="amount"
:linkedUser="linkedUser"
:transactionLinkId="transactionLinkId"
:linkId="linkId"
/>
<!-- Nachricht Memo -->
@ -82,7 +82,7 @@ export default {
typeId: {
type: String,
},
transactionLinkId: {
linkId: {
type: Number,
required: false,
},

View File

@ -17,7 +17,7 @@
v-on="$listeners"
:amount="amount"
:linkedUser="linkedUser"
:transactionLinkId="transactionLinkId"
:linkId="linkId"
/>
<!-- Memo -->
@ -83,7 +83,7 @@ export default {
type: String,
required: true,
},
transactionLinkId: {
linkId: {
type: Number,
required: false,
},

View File

@ -45,7 +45,7 @@ export const transactionsQuery = gql`
end
duration
}
transactionLinkId
linkId
}
}
}