Skip to content

Commit

Permalink
remove all button is disabled when there are no created type filters (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
cgolemme authored Aug 16, 2024
1 parent 058d86d commit 55776fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/parameter-pages/type-filter-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export default function TypeFilterTable({ setFilterInput }: { setFilterInput: Di
</Text>
)}
<Flex justify="right">
<Button color="red" onClick={() => setTypeFilters([])} disabled={activeTypeFilters.length === 0}>
<Button color="red" onClick={() => setTypeFilters([])} disabled={typeFilters.length === 0}>
Remove All
</Button>
</Flex>
Expand Down

0 comments on commit 55776fe

Please sign in to comment.