feat: remove artist subtitle from album cards
Artist has its own tab so the redundant name below each album card isn't needed. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
e67ccaf52d
commit
5130ae24a9
1 file changed
+1
-1
+1
-1
@@ -20,7 +20,7 @@ export function makeCard(title, sub, imgUrl, fallback='💿') {
|
|||||||
|
|
||||||
export function makeAlbumCard(a) {
|
export function makeAlbumCard(a) {
|
||||||
const cv = coverUrl(a.coverArt, 512);
|
const cv = coverUrl(a.coverArt, 512);
|
||||||
const c = makeCard(a.name, a.artist||'', cv, '💿');
|
const c = makeCard(a.name, '', cv, '💿');
|
||||||
c.querySelector('.card-art').onclick = (e) => { e.stopPropagation(); quickPlayAlbum(a); };
|
c.querySelector('.card-art').onclick = (e) => { e.stopPropagation(); quickPlayAlbum(a); };
|
||||||
c.querySelector('.card-info').onclick = () => navigate('album-detail', a);
|
c.querySelector('.card-info').onclick = () => navigate('album-detail', a);
|
||||||
return c;
|
return c;
|
||||||
|
|||||||
Reference in new issue
Block a user