diff --git a/client/src/oppgaveliste/filter/filter.tsx b/client/src/oppgaveliste/filter/filter.tsx index 54b4d72c..9f115086 100644 --- a/client/src/oppgaveliste/filter/filter.tsx +++ b/client/src/oppgaveliste/filter/filter.tsx @@ -78,7 +78,9 @@ export function FilterChips({ label, selected, options, handleChange }: ChipsPro selected={selected.includes(filter.key)} onClick={() => { handleChange( - selected.includes(filter.key) ? selected.filter((x) => x !== filter.key) : [...selected, filter.key] + selected.includes(filter.key) + ? selected.filter((x) => x !== filter.key) + : [/*...selected, */ filter.key] ) }} >