+
+
+ setQuery(e.target.value)}
+ placeholder="Search albums…"
+ className="w-full bg-transparent py-1.5 text-sm outline-none placeholder:text-muted-foreground"
+ />
+
+
+ {filtered.map((rel) => (
+
+ ))}
+ {!filtered.length && (
+ No albums — reindex first?
+ )}
+
+
+ ) : (
+ // ── Album track list ──
+
+
+
+
+
+
})
{
+ (e.currentTarget as HTMLImageElement).style.visibility = 'hidden';
+ }}
+ />
+
+
+
{albumTitle(albumRel)}
+
{artistName(albumRel)}
+
+
+
+
+
+ {tracks.map((t, i) => (
+
+ ))}
+
+
+ )}
+