Skip to content

Commit

Permalink
FIX: Ensure Quality points > 0 to show details in task view
Browse files Browse the repository at this point in the history
  • Loading branch information
macite committed Aug 1, 2016
1 parent d1645fe commit 923b653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/tasks/task-sheet-viewer/task-sheet-viewer.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ angular.module('doubtfire.tasks.task-sheet-viewer', [])
show: $scope.task.definition.is_graded
active: _.isNumber($scope.task.grade)
quality:
show: $scope.qualityPoints.max?
show: $scope.qualityPoints.max? && $scope.qualityPoints.max > 0
active: $scope.qualityPoints.assigned > 0
$scope.showAssessmentPanel = _.chain($scope.assessmentPanels)
.map('show')
Expand Down

0 comments on commit 923b653

Please sign in to comment.