Skip to content

Commit

Permalink
fix(atlas): exclure les identifiants géographiques spécifiques dans l…
Browse files Browse the repository at this point in the history
…es conditions d'affichage des cartes
  • Loading branch information
jerem1508 committed Jan 16, 2025
1 parent fa54e0d commit 59e1b9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/src/pages/atlas/components/main/tabs/genders.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export function Genders() {
<GenderChart data={dataGender || []} isLoading={isLoading} />
</Col>
</Row>
{polygonsData?.length > 1 && (
{(polygonsData?.length > 1 && geoId !== "D075" && geoId !== "R00") && (
<>
<Row className="fr-my-5w">
<Col>
Expand Down
4 changes: 2 additions & 2 deletions client/src/pages/atlas/components/main/tabs/sectors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export function Sectors() {
<SectortsChart data={dataSectors || []} isLoading={isLoading} />
</Col>
</Row>
{polygonsData.length > 1 && geoId !== "D075" ? (
{(polygonsData.length > 1 && geoId !== "D075" && geoId !== "R00") && (
<>
<Row className="fr-my-5w">
<Col>
Expand All @@ -240,7 +240,7 @@ export function Sectors() {
</Col>
</Row>
</>
) : null}
)}
<Row className="fr-mt-5w">
<Col>
<Title as="h3" look="h5">
Expand Down

0 comments on commit 59e1b9c

Please sign in to comment.