Skip to content

Commit

Permalink
don't show withdrawal address if no withdrawal address is set
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Jul 31, 2023
1 parent 9e76608 commit 4eb6d83
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion templates/validators/validators.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,13 @@ <h1 class="h4 mb-1 mb-md-0"><i class="fas fa-table mx-2"></i> Validators Overvie
-
{{- end -}}
</td>
<td>{{ ethAddressLink .WithdrawAddress }}</td>
<td>
{{- if .ShowWithdrawAddress -}}
{{ ethAddressLink .WithdrawAddress }}
{{- else -}}
-
{{- end -}}
</td>
</tr>
{{ end }}
</tbody>
Expand Down

0 comments on commit 4eb6d83

Please sign in to comment.