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