feat(web-player): label each explore result with its kind

This commit is contained in:
2026-07-21 18:13:46 +02:00
parent 787664f97b
commit b75c97a696
3 changed files with 13 additions and 3 deletions
@@ -8,6 +8,7 @@
title: string;
href?: string;
subtitle?: string;
typeLabel?: string;
releaseYear?: number;
trackCount?: number;
trackIds?: (string | number)[];
@@ -20,6 +21,7 @@
title,
href,
subtitle,
typeLabel,
releaseYear,
trackCount,
trackIds = [],
@@ -29,6 +31,7 @@
const meta = $derived(
[
typeLabel,
subtitle,
releaseYear ? String(releaseYear) : undefined,
trackCount === undefined