feat: adds country to member edit
This commit is contained in:
parent
e7668f1ef4
commit
f681ca98b2
3 changed files with 36 additions and 10 deletions
|
|
@ -437,8 +437,8 @@ defmodule MvWeb.MemberLive.Show do
|
|||
|> Enum.filter(&(&1 && &1 != ""))
|
||||
|> Enum.join(" ")
|
||||
|
||||
[street_part, city_part]
|
||||
|> Enum.filter(&(&1 != ""))
|
||||
[member.country, street_part, city_part]
|
||||
|> Enum.filter(&(&1 && &1 != ""))
|
||||
|> Enum.join(", ")
|
||||
|> case do
|
||||
"" -> nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue