fix current selected tab for decompiled code

pull/1654/head
Ayrat Badykov 6 years ago
parent 4cb49e086a
commit 545a88b65e
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 2
      apps/block_scout_web/lib/block_scout_web/templates/address/_tabs.html.eex

@ -63,7 +63,7 @@
<li class="nav-item"> <li class="nav-item">
<%= link( <%= link(
to: address_decompiled_contract_path(@conn, :index, @address.hash), to: address_decompiled_contract_path(@conn, :index, @address.hash),
class: "nav-link #{tab_status("contracts", @conn.request_path)}") do %> class: "nav-link #{tab_status("decompiled_contracts", @conn.request_path)}") do %>
<%= gettext("Decompiled code") %> <%= gettext("Decompiled code") %>
<% end %> <% end %>
</li> </li>

Loading…
Cancel
Save