From f842356211a0fc9b7f0fdbe0c6d94907e83d898d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A1rbara=20Chaves?= Date: Tue, 12 Nov 2024 16:35:27 +0100 Subject: [PATCH] Fix group dataset component --- client/src/containers/datasets/components/group.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/client/src/containers/datasets/components/group.tsx b/client/src/containers/datasets/components/group.tsx index 25ec4d1..a79b5da 100644 --- a/client/src/containers/datasets/components/group.tsx +++ b/client/src/containers/datasets/components/group.tsx @@ -154,7 +154,9 @@ const GroupDataset = ({ layers, slug: datasetSlug }: GroupDatasetProps) => {
- {selectedLayer?.name || t("Types")} + + {selectedLayer?.name || t("Types")} +
{isRangelandDataset && selectedLayer?.layer?.data?.attributes?.slug && ( { - {!!rangelandsData?.data?.length && ( + {!!isRangelandDataset && !!rangelandsData?.data?.length && (