From c15832f37a8fe5bf40872ea1d4ac4c0699a33d44 Mon Sep 17 00:00:00 2001 From: pancakes Date: Sun, 24 Nov 2024 14:51:19 +1000 Subject: [PATCH] [frontend/components] Use UserDisplayName in NotificationComponent --- Iceshrimp.Frontend/Components/NotificationComponent.razor | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Iceshrimp.Frontend/Components/NotificationComponent.razor b/Iceshrimp.Frontend/Components/NotificationComponent.razor index f1271204..e70733a6 100644 --- a/Iceshrimp.Frontend/Components/NotificationComponent.razor +++ b/Iceshrimp.Frontend/Components/NotificationComponent.razor @@ -19,7 +19,9 @@
@if (NotificationResponse is { User: not null }) { - @(NotificationResponse.User.DisplayName ?? NotificationResponse.User.Username) + + + } @switch (NotificationResponse)