Skip to content

Commit

Permalink
Fix ids
Browse files Browse the repository at this point in the history
  • Loading branch information
s-rubenstein committed Oct 17, 2024
1 parent d7a3349 commit fcd5c58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/data_search/DatasetSearchTableConstants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ export const makeDatasetTableHeader = (datasets: DatasetTerm[], selected: number
sortable: true,
cellStyle: makeHeaderStyle(cellWidths.datasetName),
cellDataFn: (dataset: DatasetTerm) => ({
data: <OverflowTooltip place={'top'} tooltipText={dataset.datasetName} id={`${datasets[0].study.studyId}-dataset-name`}>
data: <OverflowTooltip place={'top'} tooltipText={dataset.datasetName} id={`${dataset.datasetId}-dataset-name`}>
{trimNewlineCharacters(dataset.datasetName)}
</OverflowTooltip>,
value: dataset.datasetName,
Expand Down

0 comments on commit fcd5c58

Please sign in to comment.