mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 08:22:17 +00:00
compare notenOpt in student view if necessary for datestyle
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user