Merge pull request #4148 from blockscout/vb-coin-balance-history-chart-display-fix

Coin balance history chart display fix
pull/4149/head
Victor Baranov 4 years ago committed by GitHub
commit 45dcab4190
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/block_scout_web/lib/block_scout_web/templates/address_coin_balance/index.html.eex

@ -28,7 +28,7 @@
<button data-chart-error-message class="alert alert-danger col-12 text-left mb-4" style="display: none;"> <button data-chart-error-message class="alert alert-danger col-12 text-left mb-4" style="display: none;">
<span><%= gettext("There was a problem loading the chart.") %></span> <span><%= gettext("There was a problem loading the chart.") %></span>
</button> </button>
<div data-chart-container class="mb-4 d-none"> <div data-chart-container class="mb-4" style="display: none;">
<canvas data-chart="coinBalanceHistoryChart" data-coin_balance_history_data_path="<%= AccessHelpers.get_path(@conn, :address_coin_balance_by_day_path, :index, @address.hash) %>" width="350" height="152"></canvas> <canvas data-chart="coinBalanceHistoryChart" data-coin_balance_history_data_path="<%= AccessHelpers.get_path(@conn, :address_coin_balance_by_day_path, :index, @address.hash) %>" width="350" height="152"></canvas>
</div> </div>

Loading…
Cancel
Save