summaryrefslogtreecommitdiffstats
path: root/web/react/components/team_signup_send_invites_page.jsx
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-09-15 19:09:50 -0700
committer=Corey Hulen <corey@hulen.com>2015-09-15 19:09:50 -0700
commit5e2f701e6c6c8bfa87b2913100365b45264470c3 (patch)
tree6256da99df4c8bb021aea3ede4953593d3e30a38 /web/react/components/team_signup_send_invites_page.jsx
parentb2a679c25da42c4665059965830858da4f0ec238 (diff)
downloadchat-5e2f701e6c6c8bfa87b2913100365b45264470c3.tar.gz
chat-5e2f701e6c6c8bfa87b2913100365b45264470c3.tar.bz2
chat-5e2f701e6c6c8bfa87b2913100365b45264470c3.zip
Removing old config stuff
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) {