mirror of
https://github.com/ash-project/ash_hq.git
synced 2024-09-19 12:53:49 +12:00
fix: select all libraries by default
This commit is contained in:
parent
601331794a
commit
618354493a
1 changed files with 1 additions and 5 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue