fix(ui): avoid t shadow in mixtape detail

cx
This commit is contained in:
vicrodh committed 2026-05-14 18:22:46 -06:00
1 parent dac1b3a762
commit 917b2a8be8
1 file changed
+2 -2
@@ -331,10 +331,10 @@
const needleTitle = item.title.toLowerCase().trim();
const needleArtist = (item.subtitle ?? '').toLowerCase().trim();
const match = albums.find((a) => {
const t = a.title.toLowerCase().trim();
const title = a.title.toLowerCase().trim();
const ar = a.artist.toLowerCase().trim();
const allAr = (a.all_artists ?? '').toLowerCase();
if (t !== needleTitle) return false;
if (title !== needleTitle) return false;
if (!needleArtist) return true;
return ar === needleArtist || allAr.includes(needleArtist);
});