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:
@@ -213,7 +213,7 @@ defmodule MusicLibraryWeb.StatsComponents do
|
|||||||
<.record_cover record={record} width={48} class="rounded-sm" />
|
<.record_cover record={record} width={48} class="rounded-sm" />
|
||||||
</div>
|
</div>
|
||||||
<p class="ml-2 text-xs/5 text-zinc-500 dark:text-zinc-400">
|
<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)}
|
{format_label(record.format)} · {type_label(record.type)}
|
||||||
<span :if={record.purchased_at}>
|
<span :if={record.purchased_at}>
|
||||||
·
|
·
|
||||||
|
|||||||
Reference in New Issue
Block a user