fix(suggestions): use highest quality playlist artwork
Changed from last (smallest) to first (largest) image in array
This commit is contained in:
1 parent
5c6ecc6a93
commit
79672c4afb
1 file changed
+1
-1
@@ -205,7 +205,7 @@
|
|||||||
<div class="cards-section">
|
<div class="cards-section">
|
||||||
<!-- Artist Playlists from Qobuz -->
|
<!-- Artist Playlists from Qobuz -->
|
||||||
{#each artistPlaylists as playlist (playlist.id)}
|
{#each artistPlaylists as playlist (playlist.id)}
|
||||||
{@const playlistImage = playlist.images?.[playlist.images.length - 1] || playlist.images?.[0]}
|
{@const playlistImage = playlist.images?.[0] || playlist.images?.[playlist.images.length - 1]}
|
||||||
<div class="card playlist-card">
|
<div class="card playlist-card">
|
||||||
<div class="card-badge qobuz">
|
<div class="card-badge qobuz">
|
||||||
<img src="/qobuz-logo-filled.svg" alt="Qobuz" class="badge-icon badge-qobuz" />
|
<img src="/qobuz-logo-filled.svg" alt="Qobuz" class="badge-icon badge-qobuz" />
|
||||||
|
|||||||
Reference in new issue
Block a user