fix: select all libraries by default

This commit is contained in:
Zach Daniel 2023-07-12 20:18:15 -04:00
parent 601331794a
commit 618354493a

View file

@ -313,11 +313,7 @@ defmodule AshHqWeb.AppViewLive do
selected_versions =
Enum.reduce(libraries, configured_library_versions, fn library, acc ->
if library.name in ["ash", "ash_phoenix", "ash_postgres"] do
Map.put_new(acc, library.id, "latest")
else
Map.put_new(acc, library.id, "")
end
Map.put_new(acc, library.id, "latest")
end)
{:ok,