diff --git a/src/discussions/comments/comment/Comment.jsx b/src/discussions/comments/comment/Comment.jsx index 1ce9ce08..7a96cb40 100644 --- a/src/discussions/comments/comment/Comment.jsx +++ b/src/discussions/comments/comment/Comment.jsx @@ -112,6 +112,7 @@ function Comment({ threadId: comment.threadId, parentId: comment.id, }} + edit={false} onCloseEditor={() => setReplying(false)} /> ) diff --git a/src/discussions/comments/comment/CommentEditor.jsx b/src/discussions/comments/comment/CommentEditor.jsx index 8e1da6f4..eba1ed01 100644 --- a/src/discussions/comments/comment/CommentEditor.jsx +++ b/src/discussions/comments/comment/CommentEditor.jsx @@ -20,6 +20,7 @@ function CommentEditor({ intl, comment, onCloseEditor, + edit, }) { const { authenticatedUser } = useContext(AppContext); const userIsPrivileged = useSelector(selectUserIsPrivileged); @@ -65,7 +66,9 @@ function CommentEditor({
{(reasonCodesEnabled && userIsPrivileged - && comment.author !== authenticatedUser.username) && ( + && comment.author !== authenticatedUser.username + && edit + ) && ( setAddingResponse(false)} /> + setAddingResponse(false)} + /> ) : (