diff options
author | Saturnino Abril <saturnino.abril@gmail.com> | 2017-06-21 05:08:37 +0800 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2017-06-20 17:08:37 -0400 |
commit | f80003a975d40741803fee576f57f2700a95656f (patch) | |
tree | 96fc310db0a49c010e5755b6c170745cda99f118 /webapp/components/search_results_item.jsx | |
parent | 6e2e1c3bbb12be059426d895dc1f6d4062d10532 (diff) | |
download | chat-f80003a975d40741803fee576f57f2700a95656f.tar.gz chat-f80003a975d40741803fee576f57f2700a95656f.tar.bz2 chat-f80003a975d40741803fee576f57f2700a95656f.zip |
add more Ids for UI automation (#6673)
Diffstat (limited to 'webapp/components/search_results_item.jsx')
-rw-r--r-- | webapp/components/search_results_item.jsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/webapp/components/search_results_item.jsx b/webapp/components/search_results_item.jsx index eae384f0d..c0f405eb4 100644 --- a/webapp/components/search_results_item.jsx +++ b/webapp/components/search_results_item.jsx @@ -290,7 +290,12 @@ export default class SearchResultsItem extends React.Component { <div className={'post post--thread ' + compactClass} > - <div className='search-channel__name'>{channelName}</div> + <div + id={idCount === -1 ? null : Utils.createSafeId('searchChannelName' + idCount)} + className='search-channel__name' + > + {channelName} + </div> <div className='post__content'> {profilePicContainer} <div> |