Placed filter in the right spot when there are no internal transactions

pull/376/head
katibest 6 years ago committed by Stamates
parent 71f89b0c07
commit 60532fbbba
  1. 3
      apps/explorer_web/lib/explorer_web/templates/address_internal_transaction/index.html.eex

@ -108,9 +108,8 @@
) %>
</div>
</div>
<%= if Enum.count(@internal_transactions) > 0 do %>
<h2 class="card-title"><%= gettext "Internal Transactions" %></h2>
<%= if Enum.count(@internal_transactions) > 0 do %>
<%= for internal_transaction <- @internal_transactions do %>
<%= render "_internal_transaction.html", locale: @locale, address: @address, internal_transaction: internal_transaction %>
<% end %>

Loading…
Cancel
Save