diff --git a/web/react/components/channel_header.jsx b/web/react/components/channel_header.jsx index 7a129f2005..76dbe370b5 100644 --- a/web/react/components/channel_header.jsx +++ b/web/react/components/channel_header.jsx @@ -153,7 +153,7 @@ module.exports = React.createClass({ if (isDirect) { if (this.state.users.length > 1) { var contact = this.state.users[((this.state.users[0].id === currentId) ? 1 : 0)]; - channelTitle = ; + channelTitle = contact.nickname || contact.username; } } @@ -161,13 +161,13 @@ module.exports = React.createClass({
- { !isDirect ?
{channelTitle} + { !isDirect ?
  • View Info
  • { !ChannelStore.isDefault(channel) ? @@ -193,12 +193,14 @@ module.exports = React.createClass({ : null }
+ : + + }
{description}
- : - {channelTitle} - }