diff options
Diffstat (limited to 'webapp/components/channel_info_modal.jsx')
-rw-r--r-- | webapp/components/channel_info_modal.jsx | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/webapp/components/channel_info_modal.jsx b/webapp/components/channel_info_modal.jsx index 25824e28c..186dfc5cf 100644 --- a/webapp/components/channel_info_modal.jsx +++ b/webapp/components/channel_info_modal.jsx @@ -29,6 +29,8 @@ export default class ChannelInfoModal extends React.Component { render() { let channel = this.props.channel; let channelIcon; + const globeIcon = Constants.GLOBE_ICON_SVG; + const lockIcon = Constants.LOCK_ICON_SVG; if (!channel) { const notFound = Utils.localizeMessage('channel_info.notFound', 'No Channel Found'); @@ -43,9 +45,19 @@ export default class ChannelInfoModal extends React.Component { } if (channel.type === 'O') { - channelIcon = (<span className='fa fa-globe'/>); + channelIcon = ( + <span + className='icon icon__globe icon--body' + dangerouslySetInnerHTML={{__html: globeIcon}} + /> + ); } else if (channel.type === 'P') { - channelIcon = (<span className='fa fa-lock'/>); + channelIcon = ( + <span + className='icon icon__globe icon--body' + dangerouslySetInnerHTML={{__html: lockIcon}} + /> + ); } const channelURL = TeamStore.getCurrentTeamUrl() + '/channels/' + channel.name; |