fix: Support LV 0.15 (#73)

This commit is contained in:
Darren Black 2023-02-17 14:19:46 +11:00 committed by GitHub
parent 1ab52551b5
commit 0ed138ab20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -600,6 +600,10 @@ defmodule AshPhoenix.LiveView do
Phoenix.LiveView.assign(socket, one, two)
end
end
{:error, :nofile} ->
defp assign(%Phoenix.LiveView.Socket{} = socket, one, two) do
Phoenix.LiveView.assign(socket, one, two)
end
end
defp assign(socket, one, two) do