Fix func name

pull/5586/head
Qwerty5Uiop 3 years ago
parent fabadaf1f4
commit b275df6996
  1. 2
      apps/block_scout_web/lib/block_scout_web/templates/transaction/index.html.eex
  2. 2
      apps/explorer/lib/explorer/chain.ex

@ -11,7 +11,7 @@
<div class="card-body" data-async-listing="<%= @current_path %>">
<h1 class="card-title list-title-description"><%= gettext "Validated Transactions" %></h1>
<div class="list-top-pagination-container-wrapper">
<%= render BlockScoutWeb.CommonComponentsView, "_rap_pagination_container.html", position: "top", showing_limit: if Chain.transactions_available_count() == Chain.limit_shownig_transactions(), do: Chain.limit_shownig_transactions(), else: nil %>
<%= render BlockScoutWeb.CommonComponentsView, "_rap_pagination_container.html", position: "top", showing_limit: if Chain.transactions_available_count() == Chain.limit_showing_transactions(), do: Chain.limit_showing_transactions(), else: nil %>
</div>
<div data-selector="channel-batching-message" class="d-none">

@ -4345,7 +4345,7 @@ defmodule Explorer.Chain do
defp page_in_bounds?(page_number, page_size),
do: page_size <= @limit_showing_transactions && @limit_showing_transactions - page_number * page_size >= 0
def limit_shownig_transactions, do: @limit_showing_transactions
def limit_showing_transactions, do: @limit_showing_transactions
defp join_association(query, [{association, nested_preload}], necessity)
when is_atom(association) and is_atom(nested_preload) do

Loading…
Cancel
Save