From a217ed6445d44b52335d46100f5aac3723a6fcdc Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Thu, 15 Oct 2015 14:18:44 +0200 Subject: [PATCH] Removing doomline when necesary --- app/coffee/modules/backlog/main.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/coffee/modules/backlog/main.coffee b/app/coffee/modules/backlog/main.coffee index 0a17ad90..115cdaab 100644 --- a/app/coffee/modules/backlog/main.coffee +++ b/app/coffee/modules/backlog/main.coffee @@ -581,7 +581,7 @@ BacklogDirective = ($repo, $rootscope, $translate) -> linkDoomLine = ($scope, $el, $attrs, $ctrl) -> reloadDoomLine = -> - if $scope.stats? + if $scope.stats? and $scope.stats.total_points? and $scope.stats.total_points != 0 removeDoomlineDom() stats = $scope.stats