feat(SW-543): clean up

This commit is contained in:
Fredrik Thorsson
2025-01-02 13:07:02 +01:00
parent eab1386ee7
commit aee238761f
3 changed files with 8 additions and 9 deletions

View File

@@ -112,9 +112,9 @@ export function getAlertPhoneContactData(
return {
displayText,
phoneNumber: getValueFromContactConfig(contactConfig, phoneNumber),
phoneNumber: getValueFromContactConfig(phoneNumber, contactConfig),
footnote: footnote
? getValueFromContactConfig(contactConfig, footnote)
? getValueFromContactConfig(footnote, contactConfig)
: null,
}
}