Coefficients transit and display on UI

This commit is contained in:
nemunaire 2017-01-16 13:09:31 +01:00
parent 5a37158f45
commit cec3600a38
7 changed files with 64 additions and 20 deletions

View file

@ -379,7 +379,7 @@ angular.module("FICApp")
$scope.my.$promise.then(function(res){
$scope.solved_exercices = 0;
angular.forEach(res.exercices, function(exercice, eid) {
if (exercice.solved) {
if (exercice.solved_rank) {
$scope.solved_exercices += 1;
}
}, 0);