From 1769d688c25169120275990ca61ffc8aa747d072 Mon Sep 17 00:00:00 2001 From: Florian Sommariva Date: Fri, 3 Nov 2023 18:47:15 +0100 Subject: [PATCH] Display only filled information desk website/email/phone --- .../DetailsInformationDesk.tsx | 41 ++++++++++++------- 1 file changed, 26 insertions(+), 15 deletions(-) diff --git a/frontend/src/components/pages/details/components/DetailsInformationDesk/DetailsInformationDesk.tsx b/frontend/src/components/pages/details/components/DetailsInformationDesk/DetailsInformationDesk.tsx index bf5605b19..e5beceb9c 100644 --- a/frontend/src/components/pages/details/components/DetailsInformationDesk/DetailsInformationDesk.tsx +++ b/frontend/src/components/pages/details/components/DetailsInformationDesk/DetailsInformationDesk.tsx @@ -60,25 +60,36 @@ export const DetailsInformationDesk: React.FC = ({ )} - -

{website} -

-
- -

+ )} + {email && ( + {email} -

- -

{phone}

+ + )} + {phone && ( + + {phone} + + )} {description && (