feat(SW-543): restore requests

This commit is contained in:
Fredrik Thorsson
2024-12-20 14:02:51 +01:00
parent a7aefcded1
commit 4c99bb2b18
4 changed files with 34 additions and 51 deletions

View File

@@ -17,6 +17,7 @@ export default async function ContactRow({ contact }: ContactRowProps) {
}
const val = getValueFromContactConfig(contact.contact_field, data)
const test = getValueFromContactConfig(contact.selectTest, data)
if (!val) {
return null
@@ -51,7 +52,7 @@ export default async function ContactRow({ contact }: ContactRowProps) {
{Icon ? <Icon width="20" height="20" color="burgundy" /> : null}
{val}
</Link>
<Footnote color="burgundy">{contact.footnote}</Footnote>
<Footnote color="burgundy">{test}</Footnote>
</div>
)
}