diff --git a/app/views/people/_profile.html.haml b/app/views/people/_profile.html.haml index bd2048907..5f842803e 100644 --- a/app/views/people/_profile.html.haml +++ b/app/views/people/_profile.html.haml @@ -35,7 +35,7 @@ %th.fw-normal.text-gray = Person.human_attribute_name(:department) %tr - %td.pb-1= @person.department.name || "-" + %td.pb-1= @person.department&.name || "-" %th.fw-normal.text-gray = Person.human_attribute_name(:company) %tr