chore(eo-exams): lookup labels GET param
This commit is contained in:
parent
cae652b512
commit
ad39c2755f
@ -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
|
||||
|
||||
Reference in New Issue
Block a user