From c6e8b70d4b752dd47519fb80cc271816a2f64cd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Barrag=C3=A1n=20Merino?= Date: Thu, 12 Mar 2015 12:56:59 +0100 Subject: [PATCH] Fix #2423: Javascript error when the doomline is rendered --- app/coffee/modules/backlog/main.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/coffee/modules/backlog/main.coffee b/app/coffee/modules/backlog/main.coffee index d2333baa..ac1185bb 100644 --- a/app/coffee/modules/backlog/main.coffee +++ b/app/coffee/modules/backlog/main.coffee @@ -544,6 +544,8 @@ BacklogDirective = ($repo, $rootscope) -> total_points = stats.total_points current_sum = stats.assigned_points + return if not $scope.visibleUserstories + for us, i in $scope.visibleUserstories current_sum += us.total_points