Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

MM-22989 - Adding reply count to root posts in RHS (Search, Flags, Pinned) #5031

Merged
merged 3 commits into from
Mar 12, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Adding conditional for visibility
  • Loading branch information
asaadmahmood committed Mar 10, 2020
commit 6c0a915972b8d671db5676b6ec04554911c334a5
2 changes: 1 addition & 1 deletion components/search_results_item/search_results_item.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ class SearchResultsItem extends React.PureComponent {
commentCount={this.props.replyCount}
postId={post.id}
searchStyle={'search-item__comment'}
extraClass={'icon--visible'}
extraClass={this.props.replyCount ? 'icon--visible' : ''}
/>
<a
href='#'
Expand Down