forked from External/greenlight
fix bug with single thumbnails erroring
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
<td>
|
||||
<% p = recording[:playbacks].find do |p| p[:type] == "presentation" end %>
|
||||
<% if p %>
|
||||
<% p[:preview][:images][:image].each do |img| %>
|
||||
<% safe_recording_images(p[:preview][:images][:image]).each do |img| %>
|
||||
<%= image_tag(img[:content].strip, class: "thumbnail px-2") %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
Reference in New Issue
Block a user