Skip to content

Commit

Permalink
Merge pull request #86 from wearefuturegov/develop
Browse files Browse the repository at this point in the history
Fix error in view employee page
  • Loading branch information
apricot13 authored May 23, 2024
2 parents 4d26ec7 + da4033f commit 75c6e19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/admin/employees/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@

<%= render "admin/shared/collapsible", name: "Roles", id: "employee-roles" do %>
<%= render "admin/shared/field-static", label: "Current roles" do %>
<% if @employee.roles.blank? %>
<% if @employee.roles.present? %>
<% @employee.roles.each do |role| %>
<%= role %><br>
<% end %>
Expand Down

0 comments on commit 75c6e19

Please sign in to comment.