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) -> CreateSprint = ($repo, $rs, $rootscope) ->
link = ($scope, $el, attrs) -> link = ($scope, $el, attrs) ->
$scope.milestonesCounter = "--" $scope.milestonesCounter = "--"
bindOnce $scope, "stats", (stats) -> bindOnce $scope, "sprints", (sprints) ->
$scope.milestonesCounter = stats.milestones.length $scope.milestonesCounter = sprints.length
submit = -> submit = ->
form = $el.find("form").checksley() form = $el.find("form").checksley()