Skip to content

Commit

Permalink
FIX: Fix project portfolio error message when no tasks are included
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcu committed Feb 18, 2016
1 parent aa43be7 commit 09072de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ angular.module('doubtfire.projects.partials.portfolio', [])
restrict: 'E'
templateUrl: 'projects/partials/templates/portfolio-tasks.tpl.html'
controller: ($scope) ->
$scope.unitHasILOs = $scope.unit.ilos > 0
$scope.unitHasILOs = $scope.unit.ilos.length > 0
$scope.noTasksSelected = ->
if $scope.unitHasILOs
selectedTasks = _.filter $scope.project.tasks, (d) ->
Expand Down

0 comments on commit 09072de

Please sign in to comment.