Rwmove internal transactions tab hiding

pull/3239/head
Victor Baranov 4 years ago
parent dad7c030bb
commit 703f45fbd3
  1. 14
      apps/block_scout_web/lib/block_scout_web/templates/address/_tabs.html.eex

@ -20,14 +20,12 @@
"data-test": "tokens_tab_link" "data-test": "tokens_tab_link"
) %> ) %>
<% end %> <% end %>
<%= if Chain.check_if_internal_transactions_at_address(@address.hash) do %> <%= link(
<%= link( gettext("Internal Transactions"),
gettext("Internal Transactions"), class: "card-tab #{tab_status("internal_transactions", @conn.request_path)}",
class: "card-tab #{tab_status("internal_transactions", @conn.request_path)}", "data-test": "internal_transactions_tab_link",
"data-test": "internal_transactions_tab_link", to: address_internal_transaction_path(@conn, :index, @address.hash)
to: address_internal_transaction_path(@conn, :index, @address.hash) ) %>
) %>
<% end %>
<%= link( <%= link(
gettext("Coin Balance History"), gettext("Coin Balance History"),
class: "card-tab #{tab_status("coin_balances", @conn.request_path)}", class: "card-tab #{tab_status("coin_balances", @conn.request_path)}",

Loading…
Cancel
Save