Skip to content

Commit

Permalink
fix: fix crash due to wrong path in response object
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardo committed Nov 8, 2024
1 parent 43bbc65 commit c5a95f0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/DataDimension/Info/DataSetInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ export const DataSetInfo = ({ id, displayNameProp }) => {
<tr>
<th>{i18n.t('Data elements')}</th>
<td>
{data?.dataSet.dataElements.length === 1 ? (
data.dataSet.dataElements[0].displayName
{data?.dataSet.dataSetElements.length === 1 ? (
data.dataSet.dataSetElements[0].dataElement
.displayName
) : (
<ul>
{data?.dataSet.dataSetElements.map(
Expand Down

0 comments on commit c5a95f0

Please sign in to comment.