site: fall back to username on /apps page

pull/3543/head
Conduitry 5 years ago
parent 5d8ca9f07d
commit 424ed9ef5c

@ -50,9 +50,9 @@
<h1>Your apps</h1>
<div class="user">
<img class="avatar" alt="{user.name} avatar" src="{user.avatar}">
<img class="avatar" alt="{user.name || user.username} avatar" src="{user.avatar}">
<span>
{user.name}
{user.name || user.username}
(<a on:click|preventDefault={logout} href="auth/logout">log out</a>)
</span>
</div>

Loading…
Cancel
Save