feat(member): bring the overview table up to WCAG 2.2 AA
This commit is contained in:
parent
0c375234c8
commit
c2cb3edab8
6 changed files with 91 additions and 39 deletions
|
|
@ -767,8 +767,15 @@ defmodule MvWeb.MemberLive.Index do
|
|||
custom_field: custom_field,
|
||||
render: fn member ->
|
||||
case get_custom_field_value(member, custom_field) do
|
||||
nil -> ""
|
||||
cfv -> Formatter.format_custom_field_value(cfv.value, custom_field)
|
||||
nil ->
|
||||
""
|
||||
|
||||
cfv ->
|
||||
if custom_field.value_type == :boolean do
|
||||
extract_boolean_value(cfv.value)
|
||||
else
|
||||
Formatter.format_custom_field_value(cfv.value, custom_field)
|
||||
end
|
||||
end
|
||||
end
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue