diff options
Diffstat (limited to 'web/react/components')
-rw-r--r-- | web/react/components/new_channel.jsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/web/react/components/new_channel.jsx b/web/react/components/new_channel.jsx index 973643de7..b00376758 100644 --- a/web/react/components/new_channel.jsx +++ b/web/react/components/new_channel.jsx @@ -60,8 +60,7 @@ module.exports = React.createClass({ $(this.refs.modal.getDOMNode()).modal('hide'); asyncClient.getChannel(data.id); - utils.updateTabTitle(channel.display_name); - utils.updateAddressBar(channel.name); + utils.switchChannel(data); this.refs.display_name.getDOMNode().value = ''; this.refs.channel_name.getDOMNode().value = ''; |