From baf4f66604a0f7d220e0e653974512d1fd32c4c9 Mon Sep 17 00:00:00 2001 From: ogerly Date: Tue, 15 Mar 2022 17:16:35 +0100 Subject: [PATCH] ad function updateListTransactionLinks on TransactionLinksSummary.vue --- .../Transactions/TransactionLinksSummary.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/Transactions/TransactionLinksSummary.vue b/frontend/src/components/Transactions/TransactionLinksSummary.vue index dff7cff3a..c4496ed0d 100644 --- a/frontend/src/components/Transactions/TransactionLinksSummary.vue +++ b/frontend/src/components/Transactions/TransactionLinksSummary.vue @@ -24,7 +24,10 @@ - + @@ -69,7 +72,7 @@ export default { } }, methods: { - async listTransactionLinks() { + async updateListTransactionLinks() { this.$apollo .query({ query: listTransactionLinks, @@ -81,6 +84,7 @@ export default { }) .then((result) => { this.transactionLinks = result.data.listTransactionLinks + this.$emit('update-transactions') }) .catch((err) => { this.toastError(err.message) @@ -88,7 +92,7 @@ export default { }, }, created() { - this.listTransactionLinks() + this.updateListTransactionLinks() }, }