Check if connectedLink is empty
This commit is contained in:
parent
90431f79c6
commit
08dd364a79
@ -133,7 +133,7 @@
|
||||
<ul class="connected-accounts">
|
||||
{{range .Connections}}
|
||||
<li>
|
||||
<a {{if .}}href="{{connectedLink .}}"{{end}} target="_blank" data-is-revoked="{{.Revoked}}">
|
||||
<a {{if connectedLink .}}href="{{connectedLink .}}"{{end}} target="_blank" data-is-revoked="{{.Revoked}}">
|
||||
<img src="/discord/assets/icon/{{.Type}}.svg" alt="Icon for {{.Type}}"/>
|
||||
<span>{{.Name}}</span>
|
||||
</a>
|
||||
|
Loading…
Reference in New Issue
Block a user