Skip to content

Commit 2410cf8

Browse files
committed
Update _check.html.erb
1 parent 1c4ce51 commit 2410cf8

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

app/views/checks/_check.html.erb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,11 @@
5353
<%= fa_icon('exclamation-circle') %> reinstate as failed check
5454
<% end %>
5555
<% else %>
56-
Identified by <%= link_to_user(warn.check.user) %>
56+
<% if warn.check.user.present? %>
57+
Identified by <%= link_to_user(warn.check.user) %>
58+
<% else %>
59+
Automatically identified
60+
<% end %>
5761
<%= time_ago_in_words(warn.check.updated_at) %> ago
5862
<% end %>
5963
</div>

0 commit comments

Comments
 (0)