From f03e18280155b12ff78ffd57e843cfa70fe1a3eb Mon Sep 17 00:00:00 2001 From: JoramWilander Date: Tue, 11 Aug 2015 11:58:08 -0400 Subject: switch to channel after creation --- web/react/components/new_channel.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'web/react/components') 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 = ''; -- cgit v1.2.3-1-g7c22