From c9cd4db8258f3a8b91f86c4241d3305d25f0deba Mon Sep 17 00:00:00 2001 From: Konstantin Pinaev Date: Fri, 10 Jan 2025 10:45:42 +0100 Subject: [PATCH] DIGG-442: Fixing style --- .../entryscape/organisation-page/index.tsx | 47 ++++++++++--------- 1 file changed, 26 insertions(+), 21 deletions(-) diff --git a/features/entryscape/organisation-page/index.tsx b/features/entryscape/organisation-page/index.tsx index 8dc105a6..27f97838 100644 --- a/features/entryscape/organisation-page/index.tsx +++ b/features/entryscape/organisation-page/index.tsx @@ -309,29 +309,34 @@ export const OrganisationPage: FC = () => { {/* End right column */} -
- {entry.organisationData?.showcases.map((showcase) => ( -
- {showcase.date && ( -
- {showcase.date} | + {entry.organisationData?.showcases && + entry.organisationData?.showcases.length > 0 && ( +
+ {entry.organisationData?.showcases.map((showcase) => ( +
+ {showcase.date && ( +
+ {showcase.date} | +
+ )} +
+ {showcase.title} +
+
- )} -
{showcase.title}
- + ))}
- ))} -
+ )}
);