From d7ed49b573ad744f5bcd2844a5cc64693e43f584 Mon Sep 17 00:00:00 2001
From: jadmsaadaot <91914654+jadmsaadaot@users.noreply.github.com>
Date: Wed, 23 Aug 2023 11:26:10 -0700
Subject: [PATCH] Fix threat text in comment review (#2060)
---
.../components/comments/admin/review/CommentReview.tsx | 8 +++++---
met-web/src/locales/en/default.json | 4 +++-
met-web/src/locales/en/eao.json | 5 ++++-
3 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/met-web/src/components/comments/admin/review/CommentReview.tsx b/met-web/src/components/comments/admin/review/CommentReview.tsx
index 7c2fb8703..e4d8de55e 100644
--- a/met-web/src/components/comments/admin/review/CommentReview.tsx
+++ b/met-web/src/components/comments/admin/review/CommentReview.tsx
@@ -266,9 +266,9 @@ const CommentReview = () => {
Comment(s)
- {submission.comments?.map((comment, index) => {
+ {submission.comments?.map((comment) => {
return (
-
+
{comment.label ?? 'Label not available.'}
@@ -355,7 +355,9 @@ const CommentReview = () => {
}
/>
- {translate('comment.admin.review.ifThreatContact')}{' '}
+ {translate('comment.admin.review.threatTextOne')}{' '}
+ {translate('comment.admin.review.threatContact')}{' '}
+ {translate('comment.admin.review.threatTextTwo')}{' '}
{threatEmailContact}