From 703f45fbd35d5d446cc52d0ebc721bd9eef58b0b Mon Sep 17 00:00:00 2001 From: Victor Baranov Date: Fri, 14 Aug 2020 12:40:53 +0300 Subject: [PATCH] Rwmove internal transactions tab hiding --- .../templates/address/_tabs.html.eex | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/apps/block_scout_web/lib/block_scout_web/templates/address/_tabs.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/address/_tabs.html.eex index 6e258708b9..b407e3f0cf 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/address/_tabs.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/address/_tabs.html.eex @@ -20,14 +20,12 @@ "data-test": "tokens_tab_link" ) %> <% end %> - <%= if Chain.check_if_internal_transactions_at_address(@address.hash) do %> - <%= link( - gettext("Internal Transactions"), - class: "card-tab #{tab_status("internal_transactions", @conn.request_path)}", - "data-test": "internal_transactions_tab_link", - to: address_internal_transaction_path(@conn, :index, @address.hash) - ) %> - <% end %> + <%= link( + gettext("Internal Transactions"), + class: "card-tab #{tab_status("internal_transactions", @conn.request_path)}", + "data-test": "internal_transactions_tab_link", + to: address_internal_transaction_path(@conn, :index, @address.hash) + ) %> <%= link( gettext("Coin Balance History"), class: "card-tab #{tab_status("coin_balances", @conn.request_path)}",