diff --git a/components/financial_assistance/app/models/financial_assistance/application.rb b/components/financial_assistance/app/models/financial_assistance/application.rb index b1baea57264..a55d8877874 100644 --- a/components/financial_assistance/app/models/financial_assistance/application.rb +++ b/components/financial_assistance/app/models/financial_assistance/application.rb @@ -430,7 +430,7 @@ def find_all_relationships(matrix) next unless xi < yi relation = relationships.where(applicant_id: id_map[xi], relative_id: id_map[yi]).first relation_kind = relation&.kind - relation_has_error = invalid_ids.include?(relation&.id) + relation_has_error = invalid_ids.include?(relation&.id) || relation_kind.nil? all_relationships << {:applicant => id_map[xi], :relation => relation_kind, :relative => id_map[yi], :error => relation_has_error} end end diff --git a/components/financial_assistance/app/views/financial_assistance/relationships/_form.html.erb b/components/financial_assistance/app/views/financial_assistance/relationships/_form.html.erb index 86a052607a6..66ed3db65f5 100644 --- a/components/financial_assistance/app/views/financial_assistance/relationships/_form.html.erb +++ b/components/financial_assistance/app/views/financial_assistance/relationships/_form.html.erb @@ -1,15 +1,5 @@ <% if @bs4 %> <%= render partial: '/financial_assistance/shared/faa_progress_options', locals: {step: 2} %> - <% if @missing_relationships.any? %> - - <% end %>

<%= l10n("family_relationships") %>

<%= l10n("household_relationships") %>