Add fix for show playlists
This commit is contained in:
parent
4875aa1d7e
commit
ef95dc2380
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
|||
<% else %>
|
||||
<div class="thumbnail">
|
||||
<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>
|
||||
<% end %>
|
||||
<p><%= item.title %></p>
|
||||
|
|
Loading…
Reference in a new issue