Add fix for show playlists

pull/733/head
Omar Roth 6 years ago
parent 4875aa1d7e
commit ef95dc2380

@ -24,7 +24,7 @@
<% else %> <% else %>
<div class="thumbnail"> <div class="thumbnail">
<img class="thumbnail" src="/vi/<%= item.videos[0]?.try &.id %>/mqdefault.jpg"/> <img class="thumbnail" src="/vi/<%= item.videos[0]?.try &.id %>/mqdefault.jpg"/>
<p class="length"><%= recode_length_seconds(item.videos[0].length_seconds) %></p> <p class="length"><%= recode_length_seconds(item.videos[0]?.try &.length_seconds || 0) %></p>
</div> </div>
<% end %> <% end %>
<p><%= item.title %></p> <p><%= item.title %></p>

Loading…
Cancel
Save