Commit 33061024211274a930ac9d3926683b786a18e6c1

Authored by Caio Almeida
1 parent 4d5363d3

Ticket #156: Refresh profile data when profile is displayed

Showing 1 changed file with 2 additions and 3 deletions   Show diff stats
www/js/controllers.js
... ... @@ -1387,9 +1387,8 @@ angular.module('confjuvapp.controllers', [])
1387 1387 };
1388 1388  
1389 1389 $scope.showProfile = function() {
1390   - if (!$scope.profile) {
1391   - $scope.loadProfile();
1392   - }
  1390 + $scope.loadProfile();
  1391 + $scope.loadMyBadges();
1393 1392 $scope.displayProfile();
1394 1393 };
1395 1394  
... ...