mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-09 07:18:13 -07:00
chore: get overview page to show without errors
This commit is contained in:
parent
650a91ca62
commit
589c0f7e11
7 changed files with 31 additions and 16 deletions
|
|
@ -7,13 +7,6 @@ module Dashboard
|
|||
NIL_SCORE = Score.new(average: nil, meets_teacher_threshold: false, meets_student_threshold: false,
|
||||
meets_admin_data_threshold: false)
|
||||
|
||||
enum group: {
|
||||
all_students: 0,
|
||||
race: 1,
|
||||
grade: 2,
|
||||
gender: 3
|
||||
}
|
||||
|
||||
def in_zone?(zone:)
|
||||
return false if average.nil? || average.is_a?(Float) && average.nan?
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue