summaryrefslogtreecommitdiffstats
path: root/web/react/components/team_signup_username_page.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/components/team_signup_username_page.jsx')
-rw-r--r--web/react/components/team_signup_username_page.jsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/web/react/components/team_signup_username_page.jsx b/web/react/components/team_signup_username_page.jsx
index fa8a031a0..21e76e2b8 100644
--- a/web/react/components/team_signup_username_page.jsx
+++ b/web/react/components/team_signup_username_page.jsx
@@ -15,7 +15,12 @@ export default class TeamSignupUsernamePage extends React.Component {
}
submitBack(e) {
e.preventDefault();
- this.props.state.wizard = 'send_invites';
+ if (global.window.config.SendEmailNotifications === 'true') {
+ this.props.state.wizard = 'send_invites';
+ } else {
+ this.props.state.wizard = 'team_url';
+ }
+
this.props.updateParent(this.props.state);
}
submitNext(e) {