Skip to content

Commit

Permalink
close #565
Browse files Browse the repository at this point in the history
  • Loading branch information
barais committed Oct 16, 2024
1 parent 4b03fce commit 6eb697e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ <h2>
[tooltipPosition]="'top'"
id="knobquest{{ note.key }}"
>
<h6>Question {{ note.key + 1 }}</h6>
<h6>Question {{ this.q_notees[note.key].numero }}</h6>
<p-knob
[ngModel]="this.knobsCourants.get(note.key)"
[max]="getBaremes(this.q_notees)[note.key]"
Expand Down
4 changes: 2 additions & 2 deletions src/main/webapp/app/scanexam/statsexam/statsexam.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,15 +281,15 @@ export class StatsExamComponent implements OnInit {
}
}
this.infosStudents
.filter(s => s.ine !== '')
// .filter(s => s.ine !== '')
.forEach(s => {
if (s.abi > 0) {
this.nbStdABI++;
} else {
for (const key in s.notequestions) {
// semi-column char instead of decimal dot, so:
const note = this.s2f(s.notequestions[key]);
qn[parseFloat(key) - 1]?.notesAssociees?.push(note);
qn.find(q1 => q1.numero === +key)?.notesAssociees?.push(note);
}
const note = s.note === undefined ? 0 : this.s2f(s.note);
this.studentsMarks.push(note);
Expand Down

0 comments on commit 6eb697e

Please sign in to comment.