Fix phone cell display (#4924)
Closes #4796 ## What has been done - fix phone number value detection - Update formatting from International format to National format ## Before phone were formatted as text field type  ## After phone are properly formatted in National format  ## FYI Phones in International format look like 
This commit is contained in:
@ -18,7 +18,7 @@ export const PhoneDisplay = ({ value }: PhoneDisplayProps) => (
|
||||
event.stopPropagation();
|
||||
}}
|
||||
>
|
||||
{parsePhoneNumber(value, 'FR')?.formatInternational() || value}
|
||||
{parsePhoneNumber(value, 'FR')?.formatNational() || value}
|
||||
</ContactLink>
|
||||
) : (
|
||||
<ContactLink href="#">{value}</ContactLink>
|
||||
|
||||
Reference in New Issue
Block a user