summaryrefslogtreecommitdiffstats
path: root/web/react/components/team_signup_url_page.jsx
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-10-24 09:25:13 -0700
committerCorey Hulen <corey@hulen.com>2015-10-24 09:25:13 -0700
commitb6e8720badbef3e33cc2c463f7e891fe435af6ea (patch)
tree033193f076ee8563ead4012b9db0ad36604c353e /web/react/components/team_signup_url_page.jsx
parentdb1834ce26c9d7171697837f84bc3cfe3d650dcb (diff)
parent8f487412a890759ce387bb8c80187fbfaf7e7452 (diff)
downloadchat-b6e8720badbef3e33cc2c463f7e891fe435af6ea.tar.gz
chat-b6e8720badbef3e33cc2c463f7e891fe435af6ea.tar.bz2
chat-b6e8720badbef3e33cc2c463f7e891fe435af6ea.zip
Merge pull request #1168 from rgarmsen2295/plt-816
PLT-816 Fixed various React warnings during the team signup process
Diffstat (limited to 'web/react/components/team_signup_url_page.jsx')
-rw-r--r--web/react/components/team_signup_url_page.jsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/web/react/components/team_signup_url_page.jsx b/web/react/components/team_signup_url_page.jsx
index 6d333aed6..02d5cab8e 100644
--- a/web/react/components/team_signup_url_page.jsx
+++ b/web/react/components/team_signup_url_page.jsx
@@ -54,7 +54,11 @@ export default class TeamSignupUrlPage extends React.Component {
if (data) {
this.setState({nameError: 'This URL is unavailable. Please try another.'});
} else {
- this.props.state.wizard = 'send_invites';
+ if (global.window.mm_config.SendEmailNotifications === 'true') {
+ this.props.state.wizard = 'send_invites';
+ } else {
+ this.props.state.wizard = 'username';
+ }
this.props.state.team.type = 'O';
this.props.state.team.name = name;