Browse Source

Revert "Hide change link for inferred or derived values not yet answered"

This reverts commit ec1fd1c9aa.
CLDC-3740-Replace-you-didnt-answer-with-link
Manny Dinssa 1 month ago
parent
commit
4da67be187
  1. 2
      app/models/form/question.rb

2
app/models/form/question.rb

@ -143,7 +143,7 @@ class Form::Question
end
def displayed_as_answered?(log)
if is_derived_or_has_inferred_check_answers_value?(log) && log[id].present?
if is_derived_or_has_inferred_check_answers_value?(log)
true
elsif type == "checkbox"
answer_options.keys.any? { |key| value_is_yes?(log[key]) }

Loading…
Cancel
Save