summaryrefslogtreecommitdiffstats
path: root/webapp/components/search_results_item.jsx
diff options
context:
space:
mode:
authorSaturnino Abril <saturnino.abril@gmail.com>2017-05-11 21:12:33 +0900
committerJoram Wilander <jwawilander@gmail.com>2017-05-11 08:12:33 -0400
commit81b2fd99825b1f92f7aad3591b95425656497a16 (patch)
treeec1a3c861dae13ff4c1ecd962a5d6bc72060d65f /webapp/components/search_results_item.jsx
parent4f589e077c82da00dd505319ddcf3565c699d4e6 (diff)
downloadchat-81b2fd99825b1f92f7aad3591b95425656497a16.tar.gz
chat-81b2fd99825b1f92f7aad3591b95425656497a16.tar.bz2
chat-81b2fd99825b1f92f7aad3591b95425656497a16.zip
add IDs for reply arrows at center and RHS (#6311)
Diffstat (limited to 'webapp/components/search_results_item.jsx')
-rw-r--r--webapp/components/search_results_item.jsx17
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={
() => {