diff --git a/apps/web/components/contacts/contacts-list.tsx b/apps/web/components/contacts/contacts-list.tsx
index 5702157..85425d0 100644
--- a/apps/web/components/contacts/contacts-list.tsx
+++ b/apps/web/components/contacts/contacts-list.tsx
@@ -15,7 +15,7 @@ export function ContactsList() {
return (
{contacts.map((contact) => (
-
+
))}
);
diff --git a/apps/web/components/shared/contact-row.tsx b/apps/web/components/shared/contact-row.tsx
index f22cada..ef8bc94 100644
--- a/apps/web/components/shared/contact-row.tsx
+++ b/apps/web/components/shared/contact-row.tsx
@@ -7,9 +7,10 @@ import { memo } from 'react';
type ContactRowProps = GQL.CustomerFieldsFragment & {
readonly className?: string;
+ readonly showServices?: boolean;
};
-export const ContactRow = memo(function ({ className, ...contact }: ContactRowProps) {
+export const ContactRow = memo(function ({ className, showServices, ...contact }: ContactRowProps) {
return (
{contact.name}
-
- {contact.services.map((service) => service?.name).join(', ')}
-
+ {showServices && (
+
+ {contact.services.map((service) => service?.name).join(', ')}
+
+ )}
{contact.active ? : Неактивен}