make it possible to answer to pinned comment in threads

This commit is contained in:
igoradamenko
2018-02-24 21:28:46 +02:00
parent 1da6ef1287
commit 43ccb6106d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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>
+1 -1
View File
@@ -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"
/>
))