From 1d827cebe4356579d8e9f939e17707b9033e3e43 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Thu, 25 Jul 2024 18:07:23 -0500 Subject: [PATCH] Add labels to mod details dialog (#4839) --- .../moderation/ModerationDetailsDialog.tsx | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/components/moderation/ModerationDetailsDialog.tsx b/src/components/moderation/ModerationDetailsDialog.tsx index edf82875..ebfe4523 100644 --- a/src/components/moderation/ModerationDetailsDialog.tsx +++ b/src/components/moderation/ModerationDetailsDialog.tsx @@ -54,7 +54,10 @@ function ModerationDetailsDialogInner({ description = ( This user is included in the{' '} - + {list.name} {' '} list which you have blocked. @@ -83,7 +86,10 @@ function ModerationDetailsDialogInner({ description = ( This user is included in the{' '} - + {list.name} {' '} list which you have muted. @@ -127,10 +133,11 @@ function ModerationDetailsDialogInner({ This label was applied by{' '} control.close()} style={a.text_md}> - {desc.source} + {desc.source || _(msg`an unknown labeler`)} .