mirror of
https://github.com/wassname/talk.git
synced 2026-07-16 11:22:16 +08:00
Disable/hide the reply buttons when commenting is disabled.
This commit is contained in:
@@ -182,7 +182,9 @@ class Stream extends React.Component {
|
||||
setActiveReplyBox={setActiveReplyBox}
|
||||
activeReplyBox={activeReplyBox}
|
||||
notify={notify}
|
||||
disableReply={asset.isClosed}
|
||||
disableReply={
|
||||
asset.isClosed || asset.settings.disableCommenting
|
||||
}
|
||||
postComment={postComment}
|
||||
currentUser={currentUser}
|
||||
postFlag={postFlag}
|
||||
|
||||
Reference in New Issue
Block a user