fix(allocations): show assignment green
This commit is contained in:
parent
50442a02d1
commit
9d62b3a79e
@ -153,7 +153,7 @@ postAUsersR tid ssh ash = do
|
||||
assignedHeated' res
|
||||
= let maxAssign = min (res ^. resultAllocationUser . _entityVal . _allocationUserTotalCourses . to fromIntegral)
|
||||
(res ^. resultAppliedCourses)
|
||||
assigned = res ^. resultAssignedCourses
|
||||
assigned = maxAssign - res ^. resultAssignedCourses
|
||||
in cellAttrs <>~ [ ("class", "heated")
|
||||
, ("style", [st|--hotness: #{tshow (heat maxAssign assigned)}|])
|
||||
]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user