make it possible to answer to pinned comment in threads
This commit is contained in:
@@ -195,7 +195,7 @@ export default class Comment extends Component {
|
||||
<span className="comment__time">{o.time}</span>
|
||||
|
||||
{
|
||||
!pinned && (
|
||||
!mods.disabled && (
|
||||
<span className="comment__controls">
|
||||
<span className="comment__action" onClick={this.onReplyClick}>reply</span>
|
||||
</span>
|
||||
|
||||
@@ -122,7 +122,7 @@ export default class Root extends Component {
|
||||
pinnedComments.map(comment => (
|
||||
<Comment
|
||||
data={comment}
|
||||
mods={{ level: 0 }}
|
||||
mods={{ level: 0, disabled: true }}
|
||||
mix="root__pinned-comment"
|
||||
/>
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user