From d476b35a6ed05bc165089766590cf907226f4c4e Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Tue, 18 Nov 2014 14:23:53 -0500 Subject: [PATCH] Make sure to reload the user information when joining a team. This makes sure the org drop down is updated --- static/js/controllers.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/controllers.js b/static/js/controllers.js index 07041ae7a..e37091b6f 100644 --- a/static/js/controllers.js +++ b/static/js/controllers.js @@ -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;