Fixes back button on username page during team signup when email is turned off

Этот коммит содержится в:
Reed Garmsen
2015-10-16 14:50:45 -07:00
родитель 8ea76b0ada
Коммит 5f45556b43

Просмотреть файл

@@ -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) {