Fix statistics not showing user statistics in profile
This commit is contained in:
parent
3ab3370f83
commit
691f84910a
|
@ -65,7 +65,7 @@ RosaABF.controller 'StatisticsController', ['$scope', '$http', '$timeout', ($sco
|
|||
range_end: $scope.range_end
|
||||
users_or_groups: $scope.users_or_groups
|
||||
format: 'json'
|
||||
|
||||
console.log($scope.users_or_groups)
|
||||
$http.get($scope.statistics_path, params: params).success (results) ->
|
||||
$scope.statistics = results
|
||||
|
||||
|
|
|
@ -57,11 +57,9 @@
|
|||
div ng-show="tab == 'projects'"
|
||||
= render 'projects', subject: @user
|
||||
#manage-statistics.offset10[ ng-show = "tab == 'statistics'"
|
||||
ng-controller = 'StatisticsController'
|
||||
ng-cloak = true ]
|
||||
rd-widget
|
||||
rd-widget-header title=t('top_menu.statistics')
|
||||
rd-widget-body
|
||||
div ng-controller = 'StatisticsController'
|
||||
= render 'statistics'
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue