diff options
author | Corey Hulen <corey@hulen.com> | 2016-03-29 08:08:25 -0700 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2016-03-29 08:08:25 -0700 |
commit | d921c112de622c1919650bc919d32681112cf3a9 (patch) | |
tree | 9103b0d16fa676f15591f9704fa62f673aa23cac /webapp/components/popover_list_members.jsx | |
parent | 4a6edbfd0854c097cf8fb64a3ddd75b43dfcd401 (diff) | |
parent | 5ce1a4368bafbd2ed50b1953658fca285cfd349b (diff) | |
download | chat-d921c112de622c1919650bc919d32681112cf3a9.tar.gz chat-d921c112de622c1919650bc919d32681112cf3a9.tar.bz2 chat-d921c112de622c1919650bc919d32681112cf3a9.zip |
Merge pull request #2558 from mattermost/center-panel-refactor
PLT-2382, PLT-2386, PLT-2455 Channel/permalink view cleanup and fixes.
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(); } |