Skip to content

Commit

Permalink
Properly check for entity type in timetable view
Browse files Browse the repository at this point in the history
  • Loading branch information
filips123 committed Sep 2, 2024
1 parent e183d87 commit b3c2eea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/views/ViewTimetable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const { updateTimetable, updateSubstitutions, updateEmptyClassrooms } = useTimet
updateTimetable()
updateSubstitutions()
if (currentEntityType === EntityType.EmptyClassrooms) updateEmptyClassrooms()
if (currentEntityType.value === EntityType.EmptyClassrooms) updateEmptyClassrooms()
const detailsDialog = ref(false)
const detailsProps = ref({ day: -1, time: -1, lessons: [] as MergedLesson[] })
Expand Down

0 comments on commit b3c2eea

Please sign in to comment.