diff --git a/webapp-next/components/layouts/FiltersShortcut.tsx b/webapp-next/components/layouts/FiltersShortcut.tsx index e2bd799..d8f4b47 100644 --- a/webapp-next/components/layouts/FiltersShortcut.tsx +++ b/webapp-next/components/layouts/FiltersShortcut.tsx @@ -113,6 +113,20 @@ export function FiltersShortcut() { /> )); case 'categories': + return filters[key].map(value => ( + { + setFilters({ + ...filters, + [key]: filters[key].filter(v => v !== value), + categories_associate: [] + }); + }} + /> + )); case 'categories_associate': case 'death_location': case 'sex':