Revise naming and notification around purchasing records

This commit is contained in:
Claudio Ortolina
2025-02-04 12:11:16 +00:00
parent 6cac09e81b
commit acd52978ae
6 changed files with 22 additions and 14 deletions
@@ -167,9 +167,9 @@ defmodule MusicLibraryWeb.RecordComponents do
role="menuitem"
tabindex="-1"
id={"actions-#{record.id}-purchase"}
phx-click={JS.push("purchase", value: %{id: record.id})}
phx-click={JS.push("add-to-collection", value: %{id: record.id})}
>
{gettext("Purchase")}
{gettext("Purchased")}
</.link>
<.link