chore: fix tests
This commit is contained in:
parent
595dfdb8d3
commit
1e6f6e4296
@ -220,7 +220,7 @@ courseParticipantForm courses csrf = do
|
|||||||
)
|
)
|
||||||
let linesWidget = Map.intersectionWith (,) courses lines'
|
let linesWidget = Map.intersectionWith (,) courses lines'
|
||||||
& Map.elems
|
& Map.elems
|
||||||
& sortBy (comparing . view $ _1 . _1)
|
& sortOn (view $ _1 . _1)
|
||||||
& view (folded . _2 . _2)
|
& view (folded . _2 . _2)
|
||||||
return ( forM lines' $ view _1
|
return ( forM lines' $ view _1
|
||||||
, $(widgetFile "allocation/user-course-participant-form/layout")
|
, $(widgetFile "allocation/user-course-participant-form/layout")
|
||||||
|
|||||||
Reference in New Issue
Block a user