Coefficients transit and display on UI
This commit is contained in:
parent
5a37158f45
commit
cec3600a38
7 changed files with 64 additions and 20 deletions
|
@ -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);
|
||||
|
|
Reference in a new issue