chore: fix linting
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Moritz 2025-06-17 16:07:52 +02:00
parent 83865dc186
commit 03da80cca5
Signed by: moritz
GPG key ID: 1020A035E5DD0824
2 changed files with 70 additions and 65 deletions

View file

@ -34,14 +34,19 @@ defmodule MvWeb.MemberLive.Show do
</.list>
<h3 class="mt-8 mb-2 text-lg font-semibold">Custom Properties</h3>
<.generic_list
items={Enum.map(@member.properties, fn p ->
<.generic_list items={
Enum.map(@member.properties, fn p ->
{
p.property_type && p.property_type.name, # name
case p.value do %{value: v} -> v; v -> v end # value
# name
p.property_type && p.property_type.name,
# value
case p.value do
%{value: v} -> v
v -> v
end
}
end)}
/>
end)
} />
<.back navigate={~p"/members"}>Back to members</.back>
<.modal