feat(SW-543): update contact config function

This commit is contained in:
Fredrik Thorsson
2025-01-02 11:29:09 +01:00
parent 584bcccb77
commit eab1386ee7
6 changed files with 16 additions and 15 deletions

View File

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