Fixing sprints counter in backlog

stable
Alejandro Alonso 2014-07-02 08:59:41 +02:00
parent 1f6f1f841b
commit 33f540e663
1 changed files with 2 additions and 2 deletions

View File

@ -167,8 +167,8 @@ CreateBulkUserstoriesDirective = ($repo, $rs, $rootscope) ->
CreateSprint = ($repo, $rs, $rootscope) ->
link = ($scope, $el, attrs) ->
$scope.milestonesCounter = "--"
bindOnce $scope, "stats", (stats) ->
$scope.milestonesCounter = stats.milestones.length
bindOnce $scope, "sprints", (sprints) ->
$scope.milestonesCounter = sprints.length
submit = ->
form = $el.find("form").checksley()