Skip to content

Commit

Permalink
Update handling of phone numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
devcshort committed Aug 23, 2023
1 parent f720b20 commit f8a586b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,11 @@ export function ResourceInformationSection(props: Props) {
<Grid.Col key={phone.number} lg={6} md={6} sm={12} xs={12}>
<Group spacing="xs">
<ThemeIcon size="xs" variant="default">
{phone.type === 'voice' ? <IconPhone /> : <IconPrinter />}
{phone.type === 'fax' ? <IconPrinter /> : <IconPhone />}
</ThemeIcon>

<Text weight={600}>
{phone.type === 'voice' ? t('voice') : t('fax')}
{phone.type === 'fax' ? t('fax') : t('voice')}
</Text>
</Group>
{phone.type === 'voice' ? (
Expand Down

0 comments on commit f8a586b

Please sign in to comment.