diff options
author | Joram Wilander <jwawilander@gmail.com> | 2016-04-04 12:24:12 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2016-04-04 12:24:12 -0400 |
commit | 2bdab516b293d97f9797039e84f9d04656d2134d (patch) | |
tree | cf53b8f94f4f3d7ec1d697457c9847009035c058 /webapp/components/rename_channel_modal.jsx | |
parent | 2bb9332467f54ed6e2bc39e088c1268a61b24b6e (diff) | |
parent | 5f3111e8809ccc4fe32cc2958da5a47fd9c09bef (diff) | |
download | chat-2bdab516b293d97f9797039e84f9d04656d2134d.tar.gz chat-2bdab516b293d97f9797039e84f9d04656d2134d.tar.bz2 chat-2bdab516b293d97f9797039e84f9d04656d2134d.zip |
Merge pull request #2625 from mattermost/plt-2502
PLT-2502 Fxing some channel changing issues
Diffstat (limited to 'webapp/components/rename_channel_modal.jsx')
-rw-r--r-- | webapp/components/rename_channel_modal.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/components/rename_channel_modal.jsx b/webapp/components/rename_channel_modal.jsx index ced3c2d2b..3e47847e7 100644 --- a/webapp/components/rename_channel_modal.jsx +++ b/webapp/components/rename_channel_modal.jsx @@ -4,7 +4,7 @@ import ReactDOM from 'react-dom'; import * as Utils from 'utils/utils.jsx'; import * as Client from 'utils/client.jsx'; -import * as GlobalActions from 'action_creators/global_actions.jsx'; +import * as AsyncClient from 'utils/async_client.jsx'; import Constants from 'utils/constants.jsx'; import {intlShape, injectIntl, defineMessages, FormattedMessage} from 'react-intl'; @@ -165,7 +165,7 @@ export default class RenameChannelModal extends React.Component { Client.updateChannel( channel, () => { - GlobalActions.emitChannelClickEvent(channel); + AsyncClient.getChannel(channel.id); this.handleHide(); }, |