Skip to content

Commit

Permalink
Fjerner støtte for multiselct på chips frem til dette er støttet i op…
Browse files Browse the repository at this point in the history
…pgave api
  • Loading branch information
matsbyfl committed Dec 18, 2024
1 parent 0ce2735 commit a4ce70c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/src/oppgaveliste/filter/filter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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]
)
}}
>
Expand Down

0 comments on commit a4ce70c

Please sign in to comment.