From 6ba8aa8088828f1b73aeb9aa64b3043a4a1a4b7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Fri, 1 Mar 2024 14:27:46 +0100 Subject: [PATCH] fix: remove categories_associate from map aggregation option --- webapp-next/components/charts/map/Header.tsx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/webapp-next/components/charts/map/Header.tsx b/webapp-next/components/charts/map/Header.tsx index 1678d7a..fec3c04 100644 --- a/webapp-next/components/charts/map/Header.tsx +++ b/webapp-next/components/charts/map/Header.tsx @@ -50,13 +50,6 @@ export function ChartMapHeader() { { label: 'Année', value: 'years' } ]; - if (!!filters.categories.length) - availableFields = concatAdditionnalFields( - availableFields, - filters.categories_search, - filters.categories_associate - ); - const isValidField = (field?: string): field is Field => field ? availableFields.some(({ value }) => value === field) : false;