Fix #2423: Javascript error when the doomline is rendered
parent
1906abaa1c
commit
c6e8b70d4b
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue