Skip to content

Commit

Permalink
fix: cancelled LBs
Browse files Browse the repository at this point in the history
Sxyntheon committed Mar 19, 2024
1 parent 087e6c4 commit 54cbf29
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/src/components/plan-components/Lernbueros.tsx
Original file line number Diff line number Diff line change
@@ -367,6 +367,9 @@ export default function Lernbueros(): JSX.Element {
if (lessons[k].substitution?.teacher && lessons[k].substitution?.teacher != "---") {
teacherStyle = { textDecoration: "line-through" };
substitutionTeacherStyle = { display: "block" };
}
if (lessons[k].substitution?.teacher == "---") {
teacherStyle = { textDecoration: "line-through" };
objectStyle.opacity = 0.5;
}
if (lessons[k].substitution?.cancelled) {

0 comments on commit 54cbf29

Please sign in to comment.