mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-13 09:20:38 -07:00
Fix regression where we accidentally list the questions for measure 1B-i
This commit is contained in:
parent
ea09fa06b7
commit
fc853c4fbc
4 changed files with 121 additions and 32 deletions
|
|
@ -25,6 +25,8 @@ class TeacherSurveyPresenter < DataItemPresenter
|
|||
end
|
||||
|
||||
def descriptions_and_availability
|
||||
return [DataAvailability.new('1B-i', 'Items available upon request to MCIEA.', true)] if @measure_id == '1B-i'
|
||||
|
||||
survey_items.map do |survey_item|
|
||||
DataAvailability.new(survey_item.survey_item_id, survey_item.prompt, true)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue