Skip to content

Commit

Permalink
fix: display correct name for program status selection in tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
martinkrulltott committed Dec 27, 2023
1 parent 4e4c82f commit c78af4e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Layout/TooltipContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ export const TooltipContent = ({ dimension, conditionsTexts }) => {
} else if (ouIdHelper.hasGroupPrefix(id)) {
groupIds.push(ouIdHelper.removePrefix(id))
} else {
itemDisplayNames.push(metadata[id] ? metadata[id].name : id)
const { dimensionId } = extractDimensionIdParts(id, inputType)
itemDisplayNames.push(
metadata[dimensionId] ? metadata[dimensionId].name : id
)
}
})

Expand Down

0 comments on commit c78af4e

Please sign in to comment.