playlist: change to tile layout

This commit is contained in:
Thomas Amland
2020-07-31 20:01:16 +02:00
parent bf320d283b
commit 6886e2668b
2 changed files with 11 additions and 28 deletions
+1
View File
@@ -139,6 +139,7 @@ export class API {
return response.playlists.playlist.map((playlist: any) => ({
...playlist,
name: playlist.name || "(Unnamed)",
image: playlist.songCount > 0 ? this.getCoverArtUrl(playlist) : undefined,
}));
}