diff options
author | hmhealey <harrisonmhealey@gmail.com> | 2015-11-23 10:52:52 -0500 |
---|---|---|
committer | hmhealey <harrisonmhealey@gmail.com> | 2015-11-23 12:11:11 -0500 |
commit | 388dc6c89c62133c3c5fd1c3bb5ec0327cf5be6d (patch) | |
tree | 42b0d26b00915c755fe160f775cac26b13c353e0 /web/react/components/get_team_invite_link_modal.jsx | |
parent | 6016f91358fa81c01de72011bb34c98cf2851751 (diff) | |
download | chat-388dc6c89c62133c3c5fd1c3bb5ec0327cf5be6d.tar.gz chat-388dc6c89c62133c3c5fd1c3bb5ec0327cf5be6d.tar.bz2 chat-388dc6c89c62133c3c5fd1c3bb5ec0327cf5be6d.zip |
Moved show static methods out of modals and into EventHelpers
Diffstat (limited to 'web/react/components/get_team_invite_link_modal.jsx')
-rw-r--r-- | web/react/components/get_team_invite_link_modal.jsx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/web/react/components/get_team_invite_link_modal.jsx b/web/react/components/get_team_invite_link_modal.jsx index dd7ea2901..a926c4451 100644 --- a/web/react/components/get_team_invite_link_modal.jsx +++ b/web/react/components/get_team_invite_link_modal.jsx @@ -1,7 +1,6 @@ // Copyright (c) 2015 Mattermost, Inc. All Rights Reserved. // See License.txt for license information. -import AppDispatcher from '../dispatcher/app_dispatcher.jsx'; import Constants from '../utils/constants.jsx'; import GetLinkModal from './get_link_modal.jsx'; import ModalStore from '../stores/modal_store.jsx'; @@ -43,11 +42,4 @@ export default class GetTeamInviteLinkModal extends React.Component { /> ); } - - static show() { - AppDispatcher.handleViewAction({ - type: Constants.ActionTypes.TOGGLE_GET_TEAM_INVITE_LINK_MODAL, - value: true - }); - } } |