Skip to content

Commit

Permalink
rename param
Browse files Browse the repository at this point in the history
  • Loading branch information
charlienparker committed Jan 24, 2025
1 parent 13d0ee8 commit 8f98df9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/verification_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ def has_outstanding_history?(verif_type, previous_states)
verif_type&.history_tracks&.any? { |ht| ht.modified["validation_status"] == 'outstanding' }
end

def outstanding_status?(previous_states, previous_states_history, verif_type)
def outstanding_status?(previous_states, previous_states_history, obj)
status = (obj.is_a?(VerificationType) || !EnrollRegistry.feature_enabled?(:show_new_verifications_household_summary)) ? obj.validation_status : obj.status
previous_states&.include?('outstanding') || previous_states_history || status == 'outstanding'
end
Expand Down

0 comments on commit 8f98df9

Please sign in to comment.