Commit 600ba299 authored by Paul Kaplan's avatar Paul Kaplan

Prevent replying when comments are turned off

parent 1f8342b9
......@@ -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