mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
don't fail if info is nil
This commit is contained in:
parent
9eb36b0510
commit
7fb5bfd242
1 changed files with 1 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
- return if info.nil?
|
||||
- likert = info.answer_index_average
|
||||
- zscore = info.zscore.present? ? info.zscore + 3 : nil
|
||||
- likert = zscore if zscore.present?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue