Skip to content

Commit

Permalink
Remove extraneous filter
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x committed Dec 21, 2023
1 parent f4efdd5 commit 9e9f27f
Showing 1 changed file with 5 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,6 @@ export function SupportedDeviceFilterArea({

const allLabel = t.all

const options =
manufacturersData
?.filter((manufacturer) => {
if (filters.supportedOnly) {
return ['stable', 'beta'].includes(manufacturer.integration)
}
return true
})
?.map((manufacturer) => manufacturer.display_name) ?? []

return (
<div className='seam-supported-device-table-filter-area'>
<div className='seam-deliberate-block' />
Expand All @@ -85,7 +75,11 @@ export function SupportedDeviceFilterArea({
<FilterCategoryMenu
label={t.manufacturer}
allLabel={allLabel}
options={options}
options={
manufacturersData?.map(
(manufacturer) => manufacturer.display_name
) ?? []
}
onSelect={(manufacturer: string) => {
setFilters((filters) => ({
...filters,
Expand Down

0 comments on commit 9e9f27f

Please sign in to comment.