mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
fixing bug with other districts
This commit is contained in:
parent
1b06552edd
commit
341c561a67
2 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
- valid = (@school_category.valid_child_count || 1) > 0
|
||||
- valid = @school_category.school.district.name != "Boston" || (@school_category.valid_child_count || 1) > 0
|
||||
|
||||
= render 'layouts/school_header'
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
%h4.title.text-center.pt-3
|
||||
= link_to(school_category.category.name, school_category_path(school_category.school, school_category.category, year: school_category.year))
|
||||
|
||||
- if (school_category.valid_child_count || 1) > 0
|
||||
- if school_category.school.district.name != "Boston" || (school_category.valid_child_count || 1) > 0
|
||||
.indicator-container.short
|
||||
= render 'school_categories/indicator', info: school_category
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue