Skip to content

Commit

Permalink
Merge pull request #582 from IQSS/579-collection-page-add-dataset-thu…
Browse files Browse the repository at this point in the history
…mbnail-to-the-card-item

Collection page: add dataset thumbnail to the item card
  • Loading branch information
ofahimIQSS authored Jan 17, 2025
2 parents f758ee6 + d81522f commit f8b68c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class JSDatasetPreviewMapper {
),
releaseOrCreateDate: JSDatasetPreviewMapper.toPreviewDate(jsDatasetPreview.versionInfo),
description: jsDatasetPreview.description,
thumbnail: undefined, // TODO: get dataset thumbnail from Dataverse https://github.com/IQSS/dataverse-frontend/issues/203
thumbnail: jsDatasetPreview.imageUrl,
publicationStatuses: jsDatasetPreview.publicationStatuses,
parentCollectionName: jsDatasetPreview.parentCollectionName,
parentCollectionAlias: jsDatasetPreview.parentCollectionAlias
Expand Down

0 comments on commit f8b68c4

Please sign in to comment.