fix: 🐛 Show subject name on Hjärntorget timetable

This commit is contained in:
Andreas Eriksson 2021-11-30 20:42:46 +01:00
parent 0582e7ad2c
commit b3df527d44
1 changed files with 5 additions and 3 deletions

View File

@ -451,6 +451,8 @@ export class ApiHjarntorget extends EventEmitter implements Api {
})
return {
id: l.id,
code: l.title,
name: l.title,
teacher: l.bookedTeacherNames && l.bookedTeacherNames[0],
location: l.location,
timeStart: start.toISOTime().substring(0, 5),