Last miniature in playlist
This commit is contained in:
parent
082817a521
commit
8c10e99cca
|
@ -72,7 +72,7 @@ videoId video =
|
||||||
|
|
||||||
playlistMiniatureUrl : Playlist -> String
|
playlistMiniatureUrl : Playlist -> String
|
||||||
playlistMiniatureUrl playlist =
|
playlistMiniatureUrl playlist =
|
||||||
case List.head (List.reverse playlist.videos) of
|
case List.head playlist.videos of
|
||||||
Just v ->
|
Just v ->
|
||||||
"videos/" ++ playlist.url ++ v.url ++ "miniature-050.png"
|
"videos/" ++ playlist.url ++ v.url ++ "miniature-050.png"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue