Unverified Commit 90d7b0c5 authored by Paul Kaplan's avatar Paul Kaplan Committed by GitHub

Merge pull request #5647 from paulkaplan/no-reply-when-studio-comments-disabled

Only show reply button when comments are allowed on a studio
parents 03ce4470 53b207e0
...@@ -130,7 +130,7 @@ const StudioComments = ({ ...@@ -130,7 +130,7 @@ const StudioComments = ({
canDelete={canDeleteAnyComment || canDelete={canDeleteAnyComment ||
(canDeleteOwnComment && comment.author.username === username)} (canDeleteOwnComment && comment.author.username === username)}
canDeleteWithoutConfirm={canDeleteCommentWithoutConfirm} canDeleteWithoutConfirm={canDeleteCommentWithoutConfirm}
canReply={shouldShowCommentComposer} canReply={shouldShowCommentComposer && commentsAllowed}
canReport={canReportComment} canReport={canReportComment}
canRestore={canRestoreComment} canRestore={canRestoreComment}
content={comment.content} content={comment.content}
......
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