[frontend] Fix username and host rendering in note header

This commit is contained in:
Lilian 2024-06-27 10:26:58 +02:00 committed by Laura Hausmann
parent 3f6c241f59
commit 576048ec5e
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -6,7 +6,7 @@
}
<div class="name-section">
<span class="display-name">@(DisplayName ?? Username)</span>
<span class="identifier">@Username@@@Host</span>
<span class="identifier">@@@Username@(Host != null ? $"@{Host}" : "")</span>
</div>
@code {
[Parameter][EditorRequired] public required string AvatarUrl { get; set; }