From 752dccd21e9149a3b8380888929f85b3169e7ccc Mon Sep 17 00:00:00 2001 From: pancakes Date: Sat, 29 Mar 2025 21:45:48 +1000 Subject: [PATCH] [frontend/components] Don't display pronouns field if user pronouns are present but empty --- Iceshrimp.Frontend/Components/ProfileInfo.razor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Iceshrimp.Frontend/Components/ProfileInfo.razor b/Iceshrimp.Frontend/Components/ProfileInfo.razor index 234c1498..eb9b4256 100644 --- a/Iceshrimp.Frontend/Components/ProfileInfo.razor +++ b/Iceshrimp.Frontend/Components/ProfileInfo.razor @@ -71,7 +71,7 @@ @UserProfile.Location } - @if (UserProfile.Pronouns != null) + @if (UserProfile.Pronouns != null && UserProfile.Pronouns.Count != 0) {