Last miniature in playlist

This commit is contained in:
Thomas Forgione 2020-10-13 14:15:55 +02:00
parent 082817a521
commit 8c10e99cca
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ videoId video =
playlistMiniatureUrl : Playlist -> String
playlistMiniatureUrl playlist =
case List.head (List.reverse playlist.videos) of
case List.head playlist.videos of
Just v ->
"videos/" ++ playlist.url ++ v.url ++ "miniature-050.png"