diff --git a/client/src/components/dataset-card/index.tsx b/client/src/components/dataset-card/index.tsx index 6f3f78b..f1fd957 100644 --- a/client/src/components/dataset-card/index.tsx +++ b/client/src/components/dataset-card/index.tsx @@ -48,12 +48,20 @@ import { interface DatasetCardProps { id: number; name: string; + shortDescription?: string; defaultLayerId: number | undefined; layers: DatasetLayersDataItem[]; metadata?: MetadataItemComponent; } -const DatasetCard = ({ id, name, defaultLayerId, layers, metadata }: DatasetCardProps) => { +const DatasetCard = ({ + id, + name, + shortDescription, + defaultLayerId, + layers, + metadata, +}: DatasetCardProps) => { const [layersConfiguration, { addLayer, updateLayer, removeLayer }] = useMapLayers(); const [location] = useLocation(); @@ -360,6 +368,7 @@ const DatasetCard = ({ id, name, defaultLayerId, layers, metadata }: DatasetCard /> + {!!shortDescription &&