Fix release status badge in grouped records on this day

The tooltip was using the group representative instead of the
actual record, causing all items in a group to show the same
badge regardless of their own selected_release_id.
This commit is contained in:
Claudio Ortolina
2026-04-10 10:38:48 +01:00
parent 90a0491924
commit 8826834549
@@ -213,7 +213,7 @@ defmodule MusicLibraryWeb.StatsComponents do
<.record_cover record={record} width={48} class="rounded-sm" />
</div>
<p class="ml-2 text-xs/5 text-zinc-500 dark:text-zinc-400">
<.release_status_tooltip record={rep} />
<.release_status_tooltip record={record} />
{format_label(record.format)} · {type_label(record.type)}
<span :if={record.purchased_at}>
·