[frontend/components] Don't display pronouns field if user pronouns are present but empty
This commit is contained in:
parent
b79de70345
commit
752dccd21e
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@
|
|||
<span class="field-value">@UserProfile.Location</span>
|
||||
</div>
|
||||
}
|
||||
@if (UserProfile.Pronouns != null)
|
||||
@if (UserProfile.Pronouns != null && UserProfile.Pronouns.Count != 0)
|
||||
{
|
||||
<div class="pronouns field">
|
||||
<span class="field-name">
|
||||
|
|
Loading…
Add table
Reference in a new issue