mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-13 09:20:38 -07:00
Report that admin data is not included
This commit is contained in:
parent
78b29cc86d
commit
eff22d2ac8
5 changed files with 31 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
class AdminDataPresenter < DataItemPresenter
|
||||
def initialize(measure_id:, admin_data_items:)
|
||||
super(measure_id: measure_id, has_sufficient_data: true)
|
||||
super(measure_id: measure_id, has_sufficient_data: false)
|
||||
@admin_data_items = admin_data_items
|
||||
end
|
||||
|
||||
|
|
@ -15,4 +15,8 @@ class AdminDataPresenter < DataItemPresenter
|
|||
def item_descriptions
|
||||
@admin_data_items.map(&:description)
|
||||
end
|
||||
|
||||
def reason_for_insufficiency
|
||||
"limited availability"
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue