feat: remove Künstler sort pill from albums tab
Artists have their own dedicated tab so sorting albums by artist is redundant. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
5130ae24a9
commit
1c0d3eb4cc
2 files changed
+1
-2
No files matched your search
@@ -193,7 +193,6 @@
|
||||
<div class="page-header"><div class="page-title">Alben</div></div>
|
||||
<div id="albums-sort-chips" class="sort-chips">
|
||||
<button class="sort-chip active" data-sort="alphabeticalByName" onclick="loadAlbums('alphabeticalByName')">A–Z</button>
|
||||
<button class="sort-chip" data-sort="alphabeticalByArtist" onclick="loadAlbums('alphabeticalByArtist')">Künstler</button>
|
||||
<button class="sort-chip" data-sort="newest" onclick="loadAlbums('newest')">Neueste</button>
|
||||
<button class="sort-chip" data-sort="recent" onclick="loadAlbums('recent')">Zuletzt gespielt</button>
|
||||
<button class="sort-chip" data-sort="frequent" onclick="loadAlbums('frequent')">Meistgespielt</button>
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ export function makeCard(title, sub, imgUrl, fallback='💿') {
|
||||
|
||||
export function makeAlbumCard(a) {
|
||||
const cv = coverUrl(a.coverArt, 512);
|
||||
const c = makeCard(a.name, '', cv, '💿');
|
||||
const c = makeCard(a.name, a.artist||'', cv, '💿');
|
||||
c.querySelector('.card-art').onclick = (e) => { e.stopPropagation(); quickPlayAlbum(a); };
|
||||
c.querySelector('.card-info').onclick = () => navigate('album-detail', a);
|
||||
return c;
|
||||
|
||||
Reference in new issue
Block a user