Fix commented on Someone message (#1665)
* Fix commented on Someone message * Feedback review
This commit is contained in:
parent
77140f8730
commit
8bbc8ddb78
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ function makeMapStateToProps() {
|
|||
const militaryTime = getBool(state, Preferences.CATEGORY_DISPLAY_SETTINGS, 'use_military_time');
|
||||
|
||||
return {
|
||||
commentedOnDisplayName: displayUsername(commentedOnUser, teammateNameDisplay),
|
||||
commentedOnDisplayName: ownProps.commentedOnUserId ? displayUsername(commentedOnUser, teammateNameDisplay) : '',
|
||||
commentCount: getCommentCountForPost(state, {post}),
|
||||
createAt: post.create_at,
|
||||
displayName: displayUsername(user, teammateNameDisplay),
|
||||
|
|
|
|||
Loading…
Reference in a new issue