Use org name when available, otherwise address

Signed-off-by: Alexis Sellier <self@cloudhead.io>
This commit is contained in:
Alexis Sellier
2021-09-22 10:50:17 +02:00
parent abc62b02fd
commit 1879f983bd
4 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -86,7 +86,7 @@
<header>
<div class="title bold">
{#if result.org}
<a class="org-avatar" title={result.org.name || result.org.address} href={`/orgs/${org}`}>
<a class="org-avatar" title={result.org.nameOrAddress} href={`/orgs/${result.org.nameOrAddress}`}>
<Avatar source={result.org.avatar || org}/>
</a>
<span class="divider">/</span>