Skip to content

Commit

Permalink
fix rendering node enr if peer enr is unset
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Nov 22, 2024
1 parent 3d9483b commit 747ffe9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/clients/clients_cl.html
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,8 @@ <h5 class="modal-title" id="peerDasWarningsModal">👀 PeerDAS: Some problems we
<td>ENR</td>
<td>
<div style="word-break: break-all; text-wrap: pretty;">
<code data-bind="text: enr"></code>
<i class="fa fa-copy text-muted p-1" role="button" data-placement="right" data-toggle="tooltip" title="Copy to clipboard" data-bind="attr: {'data-clipboard-text': enr}"></i>
<code data-bind="text: enr || $node.enr"></code>
<i class="fa fa-copy text-muted p-1" role="button" data-placement="right" data-toggle="tooltip" title="Copy to clipboard" data-bind="attr: {'data-clipboard-text': enr || $node.enr}"></i>
</div>
</td>
</tr>
Expand Down

0 comments on commit 747ffe9

Please sign in to comment.