summaryrefslogtreecommitdiffstats
path: root/web/react/components/team_signup_send_invites_page.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/components/team_signup_send_invites_page.jsx')
-rw-r--r--web/react/components/team_signup_send_invites_page.jsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/web/react/components/team_signup_send_invites_page.jsx b/web/react/components/team_signup_send_invites_page.jsx
index e49534f5f..41ac98303 100644
--- a/web/react/components/team_signup_send_invites_page.jsx
+++ b/web/react/components/team_signup_send_invites_page.jsx
@@ -2,7 +2,6 @@
// See License.txt for license information.
var EmailItem = require('./team_signup_email_item.jsx');
-var ConfigStore = require('../stores/config_store.jsx');
var Client = require('../utils/client.jsx');
export default class TeamSignupSendInvitesPage extends React.Component {
@@ -14,7 +13,7 @@ export default class TeamSignupSendInvitesPage extends React.Component {
this.submitSkip = this.submitSkip.bind(this);
this.keySubmit = this.keySubmit.bind(this);
this.state = {
- emailEnabled: !ConfigStore.getSettingAsBoolean('ByPassEmail', false)
+ emailEnabled: !global.window.config.ByPassEmail
};
if (!this.state.emailEnabled) {