diff --git a/client/src/components/dataset-card/index.tsx b/client/src/components/dataset-card/index.tsx index 88fcd91..f811411 100644 --- a/client/src/components/dataset-card/index.tsx +++ b/client/src/components/dataset-card/index.tsx @@ -224,7 +224,7 @@ const DatasetCard = ({ id, name, defaultLayerId, layers, metadata }: DatasetCard -
+
{!!selectedLayer?.attributes!.download_link && ( @@ -270,6 +270,9 @@ const DatasetCard = ({ id, name, defaultLayerId, layers, metadata }: DatasetCard )} + {(!!selectedLayer?.attributes!.download_link || !!metadata) && ( +
+ )} { -
+
{!!layer.downloadLink && ( @@ -80,6 +80,9 @@ const Item = ({ name, layers }: ItemProps) => { )} + {(!!layer.downloadLink || !!layer.metadata) && ( +
+ )} id === layer.id) !== -1}