From 654c29ece26827c9bf0cc11890bb724312a181fb Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Mon, 12 Aug 2019 10:39:51 +0300 Subject: [PATCH 1/2] do not show eth value if it's zero on transaction overview page --- .../lib/block_scout_web/templates/transaction/overview.html.eex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex index 6db055c2b9..c2993a4e1b 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex @@ -175,7 +175,7 @@
- <%= if @transaction.value.value != 0 do %> + <%= if @transaction.value && @transaction.value.value != Decimal.new(0) do %>

<%= gettext "Ether" %> <%= gettext "Value" %>

From 7ac76444ca90055db050045176b2a85334ecaca9 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Mon, 12 Aug 2019 10:42:32 +0300 Subject: [PATCH 2/2] add CHANGELOG entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 128e10fcbf..407fe4f2be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ - [#2403](https://github.com/poanetwork/blockscout/pull/2403) - Return gasPrice field at the result of gettxinfo method ### Fixes +- [#2547](https://github.com/poanetwork/blockscout/pull/2547) - do not show eth value if it's zero on the transaction overview page - [#2543](https://github.com/poanetwork/blockscout/pull/2543) - do not hide search input during logs search - [#2524](https://github.com/poanetwork/blockscout/pull/2524) - fix dark theme validator data styles - [#2532](https://github.com/poanetwork/blockscout/pull/2532) - don't show empty token transfers on the transaction overview page