diff options
Diffstat (limited to 'webapp/components/search_results_item.jsx')
-rw-r--r-- | webapp/components/search_results_item.jsx | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/webapp/components/search_results_item.jsx b/webapp/components/search_results_item.jsx index 9e0eb51b0..d3b7cfe00 100644 --- a/webapp/components/search_results_item.jsx +++ b/webapp/components/search_results_item.jsx @@ -6,6 +6,7 @@ import PostMessageContainer from 'components/post_view/components/post_message_c import UserProfile from './user_profile.jsx'; import FileAttachmentListContainer from './file_attachment_list_container.jsx'; import ProfilePicture from './profile_picture.jsx'; +import CommentIcon from 'components/common/comment_icon.jsx'; import TeamStore from 'stores/team_store.jsx'; import UserStore from 'stores/user_store.jsx'; @@ -200,16 +201,12 @@ export default class SearchResultsItem extends React.Component { rhsControls = ( <li className='col__controls'> - <a - href='#' - className='comment-icon__container search-item__comment' - onClick={this.handleFocusRHSClick} - > - <span - className='comment-icon' - dangerouslySetInnerHTML={{__html: Constants.REPLY_ICON}} - /> - </a> + <CommentIcon + idPrefix={'searchCommentIcon'} + idCount={idCount} + handleCommentClick={this.handleFocusRHSClick} + searchStyle={'search-item__comment'} + /> <a onClick={ () => { |