fix(frontend): use display name for members if possible
This commit is contained in:
parent
b50bed296a
commit
bfc9e6f5c0
2 changed files with 10 additions and 5 deletions
|
@ -25,7 +25,8 @@
|
|||
<div class="container">
|
||||
{#if $userStore && $userStore.id === data.user.id}
|
||||
<Alert color="secondary" fade={false}>
|
||||
You are currently viewing the <strong>public</strong> profile of {data.name}.
|
||||
You are currently viewing the <strong>public</strong> profile of {data.display_name ??
|
||||
data.name}.
|
||||
<br /><a href="/edit/member/{data.id}">Edit profile</a>
|
||||
</Alert>
|
||||
{/if}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue