Skip to content

Commit

Permalink
fix: pyramidAge chart
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehdi-BOUYAHIA committed Dec 19, 2024
1 parent 0ac2d4b commit 15457db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils/graphUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ export const getAgeRepartitionMapAphp = (facet?: Extension[]): AgeRepartitionTyp
const repartitionMap: AgeRepartitionMap[] = []

facet?.forEach((extension) => {
const ageObj = getExtension(extension, 'gender.display')?.url
const ageObj = extension.extension?.filter((object) => {
return object.url !== 'gender.display'
})?.[0].url

const genderValuesObj = getExtension(extension, 'gender.display')

Expand Down

0 comments on commit 15457db

Please sign in to comment.