check assigns

pull/1777/head
Ayrat Badykov 6 years ago
parent b3cd440361
commit 251aff28ec
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 2
      apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex

@ -138,7 +138,7 @@
</div>
</div>
<% token_transfer = erc20_token_transfer(@transaction, @token_transfers) %>
<% token_transfer = assigns[:token_transfers] && erc20_token_transfer(@transaction, @token_transfers) %>
<%= if token_transfer do %>
<div class="col-md-12 col-lg-4 d-flex flex-column flex-md-row flex-lg-column">
<!-- Value -->

Loading…
Cancel
Save