diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-03-24 20:04:40 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-03-29 09:54:55 -0400 |
commit | 5ce1a4368bafbd2ed50b1953658fca285cfd349b (patch) | |
tree | 9609d2ee90371ee0393a95f5fe67d27b5621257c /webapp/components/popover_list_members.jsx | |
parent | bf636404d25e943d869a32d8fe145eaa57a64039 (diff) | |
download | chat-5ce1a4368bafbd2ed50b1953658fca285cfd349b.tar.gz chat-5ce1a4368bafbd2ed50b1953658fca285cfd349b.tar.bz2 chat-5ce1a4368bafbd2ed50b1953658fca285cfd349b.zip |
Refactoring center panel away. Moving tutorial to a route. Fixing a
bunch of bugs.
Diffstat (limited to 'webapp/components/popover_list_members.jsx')
-rw-r--r-- | webapp/components/popover_list_members.jsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webapp/components/popover_list_members.jsx b/webapp/components/popover_list_members.jsx index 819c7f590..cd583e4c3 100644 --- a/webapp/components/popover_list_members.jsx +++ b/webapp/components/popover_list_members.jsx @@ -6,6 +6,7 @@ import $ from 'jquery'; import UserStore from 'stores/user_store.jsx'; import {Popover, Overlay} from 'react-bootstrap'; import * as Utils from 'utils/utils.jsx'; +import * as GlobalActions from 'action_creators/global_actions.jsx'; import Constants from 'utils/constants.jsx'; import ChannelStore from 'stores/channel_store.jsx'; @@ -36,7 +37,7 @@ export default class PopoverListMembers extends React.Component { Utils.openDirectChannelToUser( teammate, (channel, channelAlreadyExisted) => { - Utils.switchChannel(channel); + GlobalActions.emitChannelClickEvent(channel); if (channelAlreadyExisted) { this.closePopover(); } |