Unverified Commit 9e1741f8 authored by Paul Kaplan's avatar Paul Kaplan Committed by GitHub

Merge pull request #2174 from paulkaplan/fix-comment-replying

Prevent replying when comments are turned off
parents d5343dfb 600ba299
......@@ -358,7 +358,7 @@ const PreviewPresentation = ({
{comments.map(comment => (
<TopLevelComment
author={comment.author}
canReply={isLoggedIn}
canReply={isLoggedIn && projectInfo.comments_allowed}
content={comment.content}
datetimeCreated={comment.datetime_created}
deletable={userOwnsProject}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment