diff --git a/client/src/containers/projects/detail/panel.tsx b/client/src/containers/projects/detail/panel.tsx index 1778d54b..8491a124 100644 --- a/client/src/containers/projects/detail/panel.tsx +++ b/client/src/containers/projects/detail/panel.tsx @@ -145,13 +145,17 @@ export default function ProjectDetailPanel() {
{data && indicators && (
- AFOCO + {data.main_image?.data?.attributes?.url ? ( + AFOCO + ) : ( +
+ )}

{data?.name} @@ -236,10 +240,10 @@ export default function ProjectDetailPanel() { {!!data?.gallery?.data?.length && data.gallery.data.map((img, index) => (
- {index >= 0 && index % 5 === 0 && ( + {index >= 0 && index % 5 === 0 && img?.attributes?.url && (
AFOCO index > 0 && - index % 5 != 0 && ( + index % 5 != 0 && + img?.attributes?.url && (