diff --git a/frontend/src/features/ControlUnit/components/ControlUnitDialog/ControlUnitContactList/Item.tsx b/frontend/src/features/ControlUnit/components/ControlUnitDialog/ControlUnitContactList/Item.tsx index 6546989abc..1eb0035ae5 100644 --- a/frontend/src/features/ControlUnit/components/ControlUnitDialog/ControlUnitContactList/Item.tsx +++ b/frontend/src/features/ControlUnit/components/ControlUnitDialog/ControlUnitContactList/Item.tsx @@ -2,7 +2,8 @@ import { Accent, Icon, IconButton } from '@mtes-mct/monitor-ui' import { useCallback } from 'react' import styled from 'styled-components' -import type { ControlUnit } from '../../../../../domain/entities/controlUnit' +import { ControlUnit } from '../../../../../domain/entities/controlUnit' + import type { Promisable } from 'type-fest' export type ItemProps = { @@ -18,7 +19,7 @@ export function Item({ controlUnitContact, onEdit }: ItemProps) {

- {controlUnitContact.name} + {ControlUnit.ControlUnitContactName[controlUnitContact.name] || controlUnitContact.name} {controlUnitContact.phone}