Moved show static methods out of modals and into EventHelpers

Этот коммит содержится в:
hmhealey
2015-11-23 10:52:52 -05:00
родитель 6016f91358
Коммит 388dc6c89c
11 изменённых файлов: 42 добавлений и 47 удалений

Просмотреть файл

@@ -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
});
}
}