Merge pull request #1097 from rgarmsen2295/plt-693

PLT-693 Fixes back button on username page during team signup when email is turned off
Этот коммит содержится в:
Joram Wilander
2015-10-17 12:15:56 -04:00
родитель 635b9e30c2 5f45556b43
Коммит 7b6121eae8

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

@@ -15,7 +15,12 @@ export default class TeamSignupUsernamePage extends React.Component {
} }
submitBack(e) { submitBack(e) {
e.preventDefault(); e.preventDefault();
if (global.window.config.SendEmailNotifications === 'true') {
this.props.state.wizard = 'send_invites'; this.props.state.wizard = 'send_invites';
} else {
this.props.state.wizard = 'team_url';
}
this.props.updateParent(this.props.state); this.props.updateParent(this.props.state);
} }
submitNext(e) { submitNext(e) {