web: use displyname in sidebar for user

This commit is contained in:
Jens Langhammer 2020-12-19 17:44:02 +01:00
parent e23afd18e4
commit e62333dfb3
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ export class SidebarUser extends LitElement {
<a href="#/-/user/" class="pf-c-nav__link user-avatar" id="user-settings">
${until(User.me().then(u => {
return html`<img class="pf-c-avatar" src="${u.avatar}" alt="" />
<span>${u.username}</span>`;
<span>${u.name}</span>`;
}), html``)}
</a>
<a href="/flows/-/default/invalidation/" class="pf-c-nav__link user-logout" id="logout">