Skip to content

Commit

Permalink
be more robust so we can make @vincetrumental happy
Browse files Browse the repository at this point in the history
  • Loading branch information
epugh committed Nov 17, 2023
1 parent 9dc4b0e commit b6c1b1c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/search_endpoints/_search_endpoint.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

<p>
<strong>Search engine:</strong>
<%= image_tag "#{search_endpoint.search_engine}-icon.png", size:'32x32', class:'rounded-circle' %>
<% if search_endpoint.search_engine %>
<%= image_tag "#{search_endpoint.search_engine}-icon.png", size:'32x32', class:'rounded-circle' %>
<% end %>
<%= search_endpoint.search_engine %>
</p>

Expand Down

0 comments on commit b6c1b1c

Please sign in to comment.