chore: fix refactor woopsie

This commit is contained in:
Sarah Vaupel 2022-12-13 19:57:45 +01:00
parent 66b4cf8542
commit 8dc7d18bf1

View File

@ -123,6 +123,8 @@ makeCourseTable colChoices psValidator' = do
course <- view queryCourse
school <- view querySchool
lift . E.on $ course E.^. CourseSchool E.==. school E.^. SchoolId
registered <- view $ queryIsRegistered muid ata
isEditor <- view $ queryIsEditor muid ata