Comments by logged in user dont show TopRightMenu + IgnoreUserWizard

This commit is contained in:
Benjamin Goering
2017-04-10 15:51:38 -07:00
parent 7dfe12b874
commit 4d2e5ed81f
+9 -6
View File
@@ -291,12 +291,15 @@ class Comment extends React.Component {
<PubDate created_at={comment.created_at} />
<Slot fill="commentInfoBar" commentId={comment.id} />
<span className={styles.topRightMenu}>
<TopRightMenu
comment={comment}
ignoreUser={ignoreUser}
addNotification={addNotification} />
</span>
{ (currentUser && (comment.user.id !== currentUser.id))
? <span className={styles.topRightMenu}>
<TopRightMenu
comment={comment}
ignoreUser={ignoreUser}
addNotification={addNotification} />
</span>
: null
}
<Content body={comment.body} />
<div className="commentActionsLeft comment__action-container">