Change Avatar address prop to title

We wont have always an address available to be passed as title for the Avatar
component, e.g. when working with URNs.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
Sebastian Martinez
2022-06-03 16:56:40 +02:00
parent cb18e95ada
commit ab7ba33182
8 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -116,7 +116,7 @@
<div class="title bold">
{#if project.profile}
<a class="org-avatar" title={project.profile.nameOrAddress} href="/{project.profile.nameOrAddress}">
<Avatar source={project.profile.avatar || project.profile.address} address={project.profile.address}/>
<Avatar source={project.profile.avatar || project.profile.address} title={project.profile.address}/>
</a>
<span class="divider">/</span>
{/if}