diff --git a/src/frontend/src/components/render/Company.tsx b/src/frontend/src/components/render/Company.tsx index 09aeee04cc..c2f30b7399 100644 --- a/src/frontend/src/components/render/Company.tsx +++ b/src/frontend/src/components/render/Company.tsx @@ -1,6 +1,7 @@ +import { t } from '@lingui/core/macro'; import type { ReactNode } from 'react'; -import { Text } from '@mantine/core'; +import { Badge, Group, Text } from '@mantine/core'; import { ModelType } from '@lib/enums/ModelType'; import { getDetailUrl } from '@lib/functions/Navigation'; @@ -87,6 +88,17 @@ export function RenderSupplierPart( suffix += ` (${instance.pack_quantity})`; } + const suffixNode: ReactNode = ( + + {instance.primary && ( + + {t`Primary`} + + )} + {suffix && {suffix}} + + ); + return (