From 761de3f636c4b97a8d16fa7f60015fab2cc8bf7f Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Sat, 19 Mar 2022 10:43:17 +0100 Subject: [PATCH] corrected name of transaction link summary to differentiate between a link and the summary transaction --- backend/src/graphql/enum/TransactionTypeId.ts | 2 +- backend/src/util/virtualTransactions.ts | 2 +- frontend/src/components/GddTransactionList.vue | 8 ++++---- ...inksSummary.spec.js => TransactionLinkSummary.spec.js} | 4 ++-- ...sactionLinksSummary.vue => TransactionLinkSummary.vue} | 0 5 files changed, 8 insertions(+), 8 deletions(-) rename frontend/src/components/Transactions/{TransactionLinksSummary.spec.js => TransactionLinkSummary.spec.js} (98%) rename frontend/src/components/Transactions/{TransactionLinksSummary.vue => TransactionLinkSummary.vue} (100%) diff --git a/backend/src/graphql/enum/TransactionTypeId.ts b/backend/src/graphql/enum/TransactionTypeId.ts index ff64f3158..a7e39eebc 100644 --- a/backend/src/graphql/enum/TransactionTypeId.ts +++ b/backend/src/graphql/enum/TransactionTypeId.ts @@ -6,7 +6,7 @@ export enum TransactionTypeId { RECEIVE = 3, // This is a virtual property, never occurring on the database DECAY = 4, - TRANSACTION_LINK = 5, + LINK_SUMMARY = 5, } registerEnumType(TransactionTypeId, { diff --git a/backend/src/util/virtualTransactions.ts b/backend/src/util/virtualTransactions.ts index 72c21b9e4..e4b9eec1f 100644 --- a/backend/src/util/virtualTransactions.ts +++ b/backend/src/util/virtualTransactions.ts @@ -41,7 +41,7 @@ const virtualLinkTransaction = ( id: -2, userId: -1, previous: -1, - typeId: TransactionTypeId.TRANSACTION_LINK, + typeId: TransactionTypeId.LINK_SUMMARY, amount: amount, balance: balance, balanceDate: validUntil, diff --git a/frontend/src/components/GddTransactionList.vue b/frontend/src/components/GddTransactionList.vue index 3a27912bc..004204954 100644 --- a/frontend/src/components/GddTransactionList.vue +++ b/frontend/src/components/GddTransactionList.vue @@ -42,8 +42,8 @@ /> -