mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
Prevent replying when comments are turned off
This commit is contained in:
parent
1f8342b987
commit
600ba29933
1 changed files with 1 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue