mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-18 20:21:44 +00:00
on Refactor... #4
This commit is contained in:
@@ -33,7 +33,10 @@ module.exports = React.createClass({
|
||||
currentUser.Teams.push(team)
|
||||
localStorage.setItem('currentUser', JSON.stringify(currentUser))
|
||||
UserStore.Actions.update(currentUser)
|
||||
this.props.transitionTo('userHome', {userName: team.name})
|
||||
|
||||
if (this.props.transitionTo != null) {
|
||||
this.props.transitionTo('userHome', {userName: team.name})
|
||||
}
|
||||
this.props.close()
|
||||
}.bind(this))
|
||||
.catch(function (err) {
|
||||
|
||||
Reference in New Issue
Block a user