Skip to content

Commit

Permalink
Merge pull request #566 from correctexam/563-migrate-to-the-last-angu…
Browse files Browse the repository at this point in the history
…lar-182-to-support-isolated-module

close #565
  • Loading branch information
barais authored Oct 16, 2024
2 parents 93e75e6 + 6eb697e commit c7cc9fb
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 c7cc9fb

Please sign in to comment.