Skip to content

Commit 052ebda

Browse files
committed
Fix stuck label and value for uncle block height
1 parent ac8f3ab commit 052ebda

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

apps/block_scout_web/lib/block_scout_web/templates/block/overview.html.eex

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
<%= if block_type(@block) == "Block" do %>
1313
<%= gettext("Block Height: %{height}", height: @block.number) %> <%= if @block.number == 0, do: "- " <> gettext("Genesis Block")%>
1414
<% else %>
15-
<%= gettext("%{block_type} Height:", block_type: block_type(@block)) %>
16-
<%= link(@block, to: block_path(BlockScoutWeb.Endpoint, :show, @block.number)) %>
15+
<%= gettext("%{block_type} Height:", block_type: block_type(@block)) %> <%= link(@block, to: block_path(BlockScoutWeb.Endpoint, :show, @block.number)) %>
1716
<% end %>
1817
</h3>
1918
<div class="d-flex justify-content-start text-muted block-details-row">

0 commit comments

Comments
 (0)