Skip to content

Commit

Permalink
fix: replace id with uid after backend adjusted the response
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardo committed Sep 6, 2023
1 parent 6b344e6 commit e4166aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Visualization/useAnalyticsData.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const findOptionSetItem = (optionSetId, code, metaDataItems) => {
if (optionSetMetaData) {
const optionId = optionSetMetaData.options.find(
(option) => option.code === code
)?.id
)?.uid

if (optionId) {
return metaDataItems[optionId]
Expand Down

0 comments on commit e4166aa

Please sign in to comment.