summaryrefslogtreecommitdiffstats
path: root/web/react/components/search_autocomplete.jsx
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2015-11-06 11:56:34 -0500
committerJoram Wilander <jwawilander@gmail.com>2015-11-06 11:56:34 -0500
commit8022f99da553ff746a1d3e514256e4c8c086ba2a (patch)
treeabfa9945092ceda016e9142533293856fa366102 /web/react/components/search_autocomplete.jsx
parentb11f510db7f4b9d4a1c38b3c9bbbc77ed3f45e88 (diff)
parent186ab11c5769a10cc04dc24469616291cefa7dbf (diff)
downloadchat-8022f99da553ff746a1d3e514256e4c8c086ba2a.tar.gz
chat-8022f99da553ff746a1d3e514256e4c8c086ba2a.tar.bz2
chat-8022f99da553ff746a1d3e514256e4c8c086ba2a.zip
Merge pull request #1338 from asaadmahmoodspin/ui-improvements
Updating UI for search autocomplete
Diffstat (limited to 'web/react/components/search_autocomplete.jsx')
-rw-r--r--web/react/components/search_autocomplete.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/react/components/search_autocomplete.jsx b/web/react/components/search_autocomplete.jsx
index 736919697..3ff33fe57 100644
--- a/web/react/components/search_autocomplete.jsx
+++ b/web/react/components/search_autocomplete.jsx
@@ -289,7 +289,7 @@ export default class SearchAutocomplete extends React.Component {
key='public-channel-divider'
className='search-autocomplete__divider'
>
- {'Public ' + Utils.getChannelTerm(Constants.OPEN_CHANNEL) + 's'}
+ <span>{'Public ' + Utils.getChannelTerm(Constants.OPEN_CHANNEL) + 's'}</span>
</div>
);
suggestions = suggestions.concat(publicChannels.map(this.renderChannelSuggestion));
@@ -302,7 +302,7 @@ export default class SearchAutocomplete extends React.Component {
key='private-channel-divider'
className='search-autocomplete__divider'
>
- {'Private ' + Utils.getChannelTerm(Constants.PRIVATE_CHANNEL) + 's'}
+ <span>{'Private ' + Utils.getChannelTerm(Constants.PRIVATE_CHANNEL) + 's'}</span>
</div>
);
suggestions = suggestions.concat(privateChannels.map(this.renderChannelSuggestion));