Browse Source

feat: reset not routed questions twice to catch newly not routed questions after the first set are cleared

pull/2027/head
natdeanlewissoftwire 1 year ago
parent
commit
3007284670
  1. 2
      app/models/log.rb

2
app/models/log.rb

@ -238,7 +238,9 @@ private
def reset_invalidated_dependent_fields! def reset_invalidated_dependent_fields!
return unless form return unless form
2.times do
form.reset_not_routed_questions_and_invalid_answers(self) form.reset_not_routed_questions_and_invalid_answers(self)
end
reset_created_by! reset_created_by!
end end

Loading…
Cancel
Save