0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Remove reply on a deleted comment

This commit is contained in:
James Morris 2022-07-07 12:59:50 +02:00
parent c0cf87583f
commit a142a86b5d

View file

@ -50,7 +50,7 @@ const Comment = (props) => {
</div>
<div className="flex gap-6">
<Like comment={comment} />
{!props.parent && <Reply comment={comment} toggleReply={toggleReplyMode} isReplying={isInReplyMode} />}
{isNotPublished || !props.parent && <Reply comment={comment} toggleReply={toggleReplyMode} isReplying={isInReplyMode} />}
<More comment={comment} toggleEdit={toggleEditMode} />
</div>
</div>