mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Merge pull request #1097 from rgarmsen2295/plt-693
PLT-693 Fixes back button on username page during team signup when email is turned off
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user