fix: exit date as default hidden column
This commit is contained in:
parent
cbe05c5ca8
commit
38d106a69e
5 changed files with 41 additions and 10 deletions
|
|
@ -89,7 +89,10 @@ defmodule Mv.Membership do
|
|||
default_club_name = System.get_env("ASSOCIATION_NAME") || "Club Name"
|
||||
|
||||
Mv.Membership.Setting
|
||||
|> Ash.Changeset.for_create(:create, %{club_name: default_club_name})
|
||||
|> Ash.Changeset.for_create(:create, %{
|
||||
club_name: default_club_name,
|
||||
member_field_visibility: %{"exit_date" => false}
|
||||
})
|
||||
|> Ash.create!(domain: __MODULE__)
|
||||
|> then(fn settings -> {:ok, settings} end)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue