Fix issue when clicking "Save and edit" with a new translation
This commit is contained in:
@ -183,6 +183,7 @@ defmodule OutlookWeb.TranslationLive.FormComponent do
|
||||
|
||||
defp continue_edit(socket, %{"continue_edit" => "true"}) do
|
||||
socket
|
||||
|> assign(:action, :edit)
|
||||
end
|
||||
defp continue_edit(socket, %{"continue_edit" => "false"}) do
|
||||
socket |> push_navigate(to: socket.assigns.navigate)
|
||||
|
||||
Reference in New Issue
Block a user