fix name collisions

This commit is contained in:
2023-03-30 22:23:54 -04:00
parent 550f6a6420
commit 65c70ca398
3 changed files with 5 additions and 5 deletions

View File

@ -45,9 +45,9 @@ defmodule CanneryWeb.TypeLive.Show do
) do
custom_fields? =
fields_to_display(type)
|> Enum.any?(fn %{key: field, type: type} ->
|> Enum.any?(fn %{key: field, type: column_type} ->
default_value =
case type do
case column_type do
:boolean -> false
_other_type -> nil
end