From 59e1b9cf4396d49f7c008fda2db9e1e91ea4b55a Mon Sep 17 00:00:00 2001 From: jerem Date: Thu, 16 Jan 2025 11:42:47 +0100 Subject: [PATCH] =?UTF-8?q?fix(atlas):=20exclure=20les=20identifiants=20g?= =?UTF-8?q?=C3=A9ographiques=20sp=C3=A9cifiques=20dans=20les=20conditions?= =?UTF-8?q?=20d'affichage=20des=20cartes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/pages/atlas/components/main/tabs/genders.tsx | 2 +- client/src/pages/atlas/components/main/tabs/sectors.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/pages/atlas/components/main/tabs/genders.tsx b/client/src/pages/atlas/components/main/tabs/genders.tsx index 29d53ed9..2e77dec2 100644 --- a/client/src/pages/atlas/components/main/tabs/genders.tsx +++ b/client/src/pages/atlas/components/main/tabs/genders.tsx @@ -230,7 +230,7 @@ export function Genders() { - {polygonsData?.length > 1 && ( + {(polygonsData?.length > 1 && geoId !== "D075" && geoId !== "R00") && ( <> diff --git a/client/src/pages/atlas/components/main/tabs/sectors.tsx b/client/src/pages/atlas/components/main/tabs/sectors.tsx index 47206ea6..63effb98 100644 --- a/client/src/pages/atlas/components/main/tabs/sectors.tsx +++ b/client/src/pages/atlas/components/main/tabs/sectors.tsx @@ -216,7 +216,7 @@ export function Sectors() { - {polygonsData.length > 1 && geoId !== "D075" ? ( + {(polygonsData.length > 1 && geoId !== "D075" && geoId !== "R00") && ( <> @@ -240,7 +240,7 @@ export function Sectors() { - ) : null} + )}