Fix artist patch navigation

This commit is contained in:
Claudio Ortolina
2025-06-11 17:28:46 +03:00
parent 00551c4a61
commit d3a14a8553
@@ -109,7 +109,7 @@ defmodule MusicLibraryWeb.ArtistLive.Show do
{:noreply, {:noreply,
socket socket
|> put_flash(:info, gettext("Record wishlisted successfully")) |> put_flash(:info, gettext("Record wishlisted successfully"))
|> push_navigate(to: ~p"/artists/#{socket.assigns.artist.musicbrainz_id}")} |> push_patch(to: ~p"/artists/#{socket.assigns.artist.musicbrainz_id}")}
{:error, %Ecto.Changeset{} = changeset} -> {:error, %Ecto.Changeset{} = changeset} ->
{:noreply, {:noreply,