From 9f494a5f00d8f9ca37a7ef8cfb4751f8e8c5ec55 Mon Sep 17 00:00:00 2001 From: Roman Petriv Date: Wed, 11 Oct 2023 20:40:43 +0300 Subject: [PATCH] fix: do not show tokens transferred component for transactions with no transfers having amount (#49) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # What ❔ If transaction doesn't have at least one transfer with amount - we don't show tokens transferred component on transaction page. ## Why ❔ We can't show such transfers properly atm. --- .../transactions/infoTable/GeneralInfo.vue | 13 +++++++++---- .../transactions/infoTable/TransferTableCell.vue | 2 +- packages/app/src/composables/useTransaction.ts | 4 ++-- .../components/transactions/GeneralInfo.spec.ts | 16 ++++++++++++++++ 4 files changed, 28 insertions(+), 7 deletions(-) diff --git a/packages/app/src/components/transactions/infoTable/GeneralInfo.vue b/packages/app/src/components/transactions/infoTable/GeneralInfo.vue index f3446f6dba..ef84402e10 100644 --- a/packages/app/src/components/transactions/infoTable/GeneralInfo.vue +++ b/packages/app/src/components/transactions/infoTable/GeneralInfo.vue @@ -105,7 +105,7 @@ - + {{ t("transactions.table.tokensTransferred") }} @@ -113,7 +113,7 @@ -
+
@@ -189,6 +189,7 @@