Enable new actions menu on wishlist detail page
This commit is contained in:
@@ -118,17 +118,6 @@
|
||||
{gettext("Populate genres")}
|
||||
</.link>
|
||||
|
||||
<.link
|
||||
:if={!@record.purchased_at}
|
||||
class="block px-3 py-1 text-sm leading-6 text-zinc-900 dark:text-zinc-400 hover:bg-zinc-50 dark:hover:text-zinc-300 dark:hover:bg-zinc-700"
|
||||
role="menuitem"
|
||||
tabindex="-1"
|
||||
id={"actions-#{@record.id}-purchase"}
|
||||
phx-click={JS.push("purchase", value: %{id: @record.id})}
|
||||
>
|
||||
{gettext("Purchase")}
|
||||
</.link>
|
||||
|
||||
<.link
|
||||
class="block px-3 py-1 text-sm leading-6 text-red-900 hover:bg-red-50 dark:text-red-700 dark:hover:bg-red-900/30 dark:hover:text-red-600"
|
||||
role="menuitem"
|
||||
|
||||
Reference in New Issue
Block a user