Skip to content

Commit

Permalink
Merge branch 'master' into form
Browse files Browse the repository at this point in the history
  • Loading branch information
zalabhavy authored Jan 30, 2025
2 parents 19e3dfe + bca2a91 commit f93af11
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/navigation/Filter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ export default function Filter({ data, onFilter, checks, className }: FilterProp

if (e) {
newQuery[check.name] = e;
} else {
// Remove a specific filter upon clicking Select Placeholder option
delete newQuery[check.name];
}
if (newQuery) {
const queryParams = new URLSearchParams(newQuery as { [key: string]: string }).toString();
Expand Down

0 comments on commit f93af11

Please sign in to comment.