compare notenOpt in student view if necessary for datestyle

This commit is contained in:
Johann Hoffmann
2026-01-27 10:30:00 +01:00
parent 3c82cd1282
commit 84db668566
@@ -75,6 +75,10 @@ export const AbgabetoolStudent = {
// GRADE STATUS
if (termin.note) {
if(Number.isInteger(termin.note)) {
const opt = this.notenOptions.find(opt => opt.note == termin.note)
if(opt.positiv) return 'bestanden'
}
if (termin.note.positiv) return 'bestanden';
return 'nichtbestanden';
}