web: use displyname in sidebar for user
This commit is contained in:
parent
e23afd18e4
commit
e62333dfb3
|
@ -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">
|
||||
|
|
Reference in New Issue