No need to show your identity in the navigation bar if you have a name.

This commit is contained in:
Cory McWilliams 2024-06-06 18:51:40 -04:00
parent 44d784cd04
commit e4b6c81024

View File

@ -170,16 +170,12 @@ class TfNavigationElement extends LitElement {
style="text-overflow: ellipsis; overflow: hidden; white-space: nowrap; max-width: 100%"
@click=${self.toggle_id_dropdown}
>
${self.names[this.identity]}${self.names[this.identity] ===
this.identity
? ''
: html` - ${this.identity}`}
${self.names[this.identity]}
</button>
<div
id="id_dropdown"
class="w3-dropdown-content w3-bar-block w3-card-4"
style="max-width: 100%"
style="max-width: 100%; right: 0"
>
<button
class="w3-bar-item w3-button w3-border"