chore(eo-exams): lookup labels GET param

This commit is contained in:
Sarah Vaupel 2021-12-07 18:42:44 +01:00
parent cae652b512
commit ad39c2755f

View File

@ -89,7 +89,10 @@ getEOExamsR = do
Just "no" -> False
_ -> userExamOfficeGetSynced
-- TODO: lookup GET param and user setting for getLabels
getLabels <- lookupGetParam "labels" >>= return . \case
Just "yes" -> True
Just "no" -> False
_ -> userExamOfficeGetLabels
examsTable <- runDB $ do
let