Moved show static methods out of modals and into EventHelpers
Этот коммит содержится в:
@@ -5,10 +5,9 @@ import * as Utils from '../utils/utils.jsx';
|
||||
import * as client from '../utils/client.jsx';
|
||||
import UserStore from '../stores/user_store.jsx';
|
||||
import TeamStore from '../stores/team_store.jsx';
|
||||
import * as EventHelpers from '../dispatcher/event_helpers.jsx';
|
||||
|
||||
import AboutBuildModal from './about_build_modal.jsx';
|
||||
import GetTeamInviteLinkModal from './get_team_invite_link_modal.jsx';
|
||||
import InviteMemberModal from './invite_member_modal.jsx';
|
||||
import UserSettingsModal from './user_settings/user_settings_modal.jsx';
|
||||
|
||||
import Constants from '../utils/constants.jsx';
|
||||
@@ -94,7 +93,7 @@ export default class NavbarDropdown extends React.Component {
|
||||
<li>
|
||||
<a
|
||||
href='#'
|
||||
onClick={InviteMemberModal.show}
|
||||
onClick={EventHelpers.showInviteMemberModal}
|
||||
>
|
||||
{'Invite New Member'}
|
||||
</a>
|
||||
@@ -106,7 +105,7 @@ export default class NavbarDropdown extends React.Component {
|
||||
<li>
|
||||
<a
|
||||
href='#'
|
||||
onClick={GetTeamInviteLinkModal.show}
|
||||
onClick={EventHelpers.showGetTeamInviteLinkModal}
|
||||
>
|
||||
{'Get Team Invite Link'}
|
||||
</a>
|
||||
|
||||
Ссылка в новой задаче
Block a user