Skip to content

Commit

Permalink
fix: remove categories_associate from map aggregation option
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementNumericite committed Mar 1, 2024
1 parent d6bba73 commit 6ba8aa8
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions webapp-next/components/charts/map/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,6 @@ export function ChartMapHeader() {
{ label: 'Année', value: 'years' }
];

if (!!filters.categories.length)
availableFields = concatAdditionnalFields<Field>(
availableFields,
filters.categories_search,
filters.categories_associate
);

const isValidField = (field?: string): field is Field =>
field ? availableFields.some(({ value }) => value === field) : false;

Expand Down

0 comments on commit 6ba8aa8

Please sign in to comment.