Skip to content

Commit

Permalink
fix contition for 'clear selection' option
Browse files Browse the repository at this point in the history
  • Loading branch information
dzonidoo committed Jul 3, 2024
1 parent a59afdb commit d636ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/components/DropdownFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function DropdownFilter({
dropdownMenuHeader={dropdownMenuHeader}
hideLabelOnMobile={hideLabelOnMobile}
>
{hasItemsAvailable || isActive && (
{(hasItemsAvailable && isActive) && (
<button
type='button'
className='dropdown-item'
Expand Down

0 comments on commit d636ad9

Please sign in to comment.