Skip to content
Snippets Groups Projects
Commit 3b3d3516 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Fix css decision for substition highlighting.

parent c3924c23
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ from .models import LessonPeriod
def _css_class_from_lesson_state(record: Optional[LessonPeriod] = None, table: Optional[LessonsTable] = None) -> str:
if record.get_substitution(table._week):
if record.get_substitution(record._week):
return 'table-warning'
else:
return ''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment