2022-07-28 07:57:39 +12:00
|
|
|
defmodule AshHqWeb.Helpers do
|
2022-08-07 11:22:58 +12:00
|
|
|
@moduledoc "Simple helpers for doc liveviews"
|
|
|
|
|
2022-07-28 07:57:39 +12:00
|
|
|
def latest_version(library) do
|
2022-08-20 04:35:07 +12:00
|
|
|
Enum.at(library.versions, 0)
|
2022-07-28 07:57:39 +12:00
|
|
|
end
|
|
|
|
end
|