Browse Source

Count unique attributes (#2791)

pull/2780/head^2
kosiakkatrina 1 month ago committed by GitHub
parent
commit
2f221e412c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      app/helpers/form_page_error_helper.rb

2
app/helpers/form_page_error_helper.rb

@ -14,6 +14,6 @@ module FormPageErrorHelper
end end
def all_questions_affected_by_errors(log) def all_questions_affected_by_errors(log)
log.errors.map(&:attribute) - [:base] (log.errors.map(&:attribute) - [:base]).uniq
end end
end end

Loading…
Cancel
Save