Skip to content

Commit 5f806db

Browse files
authored
fix: check organization before getting short name in history
1 parent 4f83a8f commit 5f806db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎app/views/organization_timeline_entries/history.html.erb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<% @entries.each do |entry| %>
2222
<tr>
2323
<td
24-
><%= link_to entry.organization.short_name, entry.organization %></td
24+
><%= link_to entry.organization.short_name, entry.organization if entry.organization %></td
2525
>
2626
<td><%= entry.entry_type.humanize %></td>
2727
<td><%= h entry.description %></td>

0 commit comments

Comments
 (0)