remove reply button on pinned comments
This commit is contained in:
@@ -171,6 +171,7 @@ export default class Comment extends Component {
|
||||
|
||||
<div className="comment__content">
|
||||
<div className="comment__info">
|
||||
{/* TODO: add link to user's profile in social if we have it */}
|
||||
<span className="comment__username">{o.user.name}</span>
|
||||
|
||||
<span className="comment__score">
|
||||
@@ -189,7 +190,7 @@ export default class Comment extends Component {
|
||||
<span className="comment__time">{o.time}</span>
|
||||
|
||||
{
|
||||
!mods.pinned && (
|
||||
!pinned && (
|
||||
<span className="comment__controls">
|
||||
<span className="comment__action" onClick={this.onReplyClick}>reply</span>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user