Skip to content

Commit

Permalink
Fix undefined in datasets tab
Browse files Browse the repository at this point in the history
  • Loading branch information
kreafox committed Feb 9, 2023
1 parent 7d1e80b commit 57ef7e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ItemView/Datasets.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ const Datasets = (props) => {
const datasetsByYear = groupBy(sortedDatasets, 'publicationYearForResource');

const panes = Object.keys(datasetsByYear).map((dataset) => ({
menuItem: dataset,
menuItem: dataset === 'undefined' ? 'Missing' : dataset,
render: () => (
<Tab.Pane>
<Accordion>
Expand Down

0 comments on commit 57ef7e0

Please sign in to comment.