From 3b7d26154eb5539fa8144aabb17964b2f61a2fc7 Mon Sep 17 00:00:00 2001 From: James Morris Date: Thu, 11 Aug 2022 15:35:04 +0100 Subject: [PATCH] Added in the comment border line when replying with no replies refs https://github.com/TryGhost/Team/issues/1779 --- apps/comments-ui/src/components/Comment.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/comments-ui/src/components/Comment.js b/apps/comments-ui/src/components/Comment.js index d785a3bf13..d141c36435 100644 --- a/apps/comments-ui/src/components/Comment.js +++ b/apps/comments-ui/src/components/Comment.js @@ -94,7 +94,7 @@ const Comment = ({updateIsEditing = null, isEditing, ...props}) => {
- {!props.isReply && hasReplies &&
} + {(!props.isReply && hasReplies || isInReplyMode) &&
}
@@ -124,9 +124,9 @@ const Comment = ({updateIsEditing = null, isEditing, ...props}) => { {!isNotPublished && (
- {!isNotPublished && } - {!isNotPublished && (canReply && (isNotPublished || !props.parent) && )} - {!isNotPublished && } + {} + {(canReply && (isNotPublished || !props.parent) && )} + {}
)}