summaryrefslogtreecommitdiffstats
path: root/webapp/components/search_results_item.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/search_results_item.jsx')
-rw-r--r--webapp/components/search_results_item.jsx7
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>