mirror of
https://github.com/ash-project/ash_admin.git
synced 2024-09-20 05:12:54 +12:00
chore: fix typo
This commit is contained in:
parent
4b1215bc18
commit
339f93393e
1 changed files with 1 additions and 1 deletions
|
@ -1048,7 +1048,7 @@ defmodule AshAdmin.Components.Resource.Form do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
defp allow_nil_option(_, {:array, _}), do: "-"
|
defp allow_nil_option(_, {:list_value, _}), do: "-"
|
||||||
defp allow_nil_option(%{allow_nil?: true}, _), do: "-"
|
defp allow_nil_option(%{allow_nil?: true}, _), do: "-"
|
||||||
|
|
||||||
defp allow_nil_option(%{default: default, allow_nil?: false}, _) when not is_nil(default),
|
defp allow_nil_option(%{default: default, allow_nil?: false}, _) when not is_nil(default),
|
||||||
|
|
Loading…
Reference in a new issue