Fix #2423: Javascript error when the doomline is rendered

stable
David Barragán Merino 2015-03-12 12:56:59 +01:00
parent 1906abaa1c
commit c6e8b70d4b
1 changed files with 2 additions and 0 deletions

View File

@ -544,6 +544,8 @@ BacklogDirective = ($repo, $rootscope) ->
total_points = stats.total_points total_points = stats.total_points
current_sum = stats.assigned_points current_sum = stats.assigned_points
return if not $scope.visibleUserstories
for us, i in $scope.visibleUserstories for us, i in $scope.visibleUserstories
current_sum += us.total_points current_sum += us.total_points