Skip to content

Commit

Permalink
spec-filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro Gasperini authored and Alessandro Gasperini committed Dec 9, 2024
1 parent 47db6f2 commit cb14ed5
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions features/search/search-filters/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -567,37 +567,6 @@ export const SearchFilters: FC<SearchFilterProps> = ({
/>
);
}

/*
else if (key === hvd) {
return (
<SearchCheckboxFilter
key={key}
id="hvd_only"
name="hvd"
checked={activeCheckboxFilters.some(
(filter) => filter.id === "hvd_only",
)}
onChange={() => doSearch(key, facetValues[0])}
label={t(`resources|${key}`)}
iconSize={iconSize}
/>
);
} else if (key === national) {
return (
<SearchCheckboxFilter
key={key}
id="national_only"
name="National"
checked={activeCheckboxFilters.some(
(filter) => filter.id === "national_only",
)}
onChange={() => doSearch(key, facetValues[0])}
label={t(`resources|${key}`)}
iconSize={iconSize}
/>
);
} */
})}

{searchMode == "datasets" && groupName == "distribution" && (
Expand Down

0 comments on commit cb14ed5

Please sign in to comment.