Make sure to reload the user information when joining a team. This makes sure the org drop down is updated
This commit is contained in:
parent
003afc0c25
commit
d476b35a6e
1 changed files with 1 additions and 0 deletions
|
@ -2926,6 +2926,7 @@ function ConfirmInviteCtrl($scope, $location, UserService, ApiService, Notificat
|
|||
|
||||
ApiService.acceptOrganizationTeamInvite(null, params).then(function(resp) {
|
||||
NotificationService.update();
|
||||
UserService.load();
|
||||
$location.path('/organization/' + resp.org + '/teams/' + resp.team);
|
||||
}, function(resp) {
|
||||
$scope.loading = false;
|
||||
|
|
Reference in a new issue