Browse Source

lint fixes

pull/833/head
Dushan Despotovic 3 years ago
parent
commit
24a4d5e3e1
  1. 2
      app/helpers/check_answers_helper.rb

2
app/helpers/check_answers_helper.rb

@ -25,7 +25,7 @@ module CheckAnswersHelper
end
def any_questions_have_summary_card_number?(subsection, case_log)
subsection.applicable_questions(case_log).map(&:check_answers_card_number).compact.length > 0
subsection.applicable_questions(case_log).map(&:check_answers_card_number).compact.length.positive?
end
private

Loading…
Cancel
Save