feat: adds country to member edit

This commit is contained in:
carla 2026-02-24 09:35:27 +01:00
parent e7668f1ef4
commit f681ca98b2
3 changed files with 36 additions and 10 deletions

View file

@ -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