Skip to content

Commit

Permalink
Add class for date filter options
Browse files Browse the repository at this point in the history
  • Loading branch information
drx committed Aug 14, 2024
1 parent 0b15c60 commit f06a6fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/src/filter/DateFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export const DateFilterComponent = ({ filter, defaultValue }: { filter: FilterCo
{DATE_SELECT_OPTIONS.map(({ label, value }) => (
<ListboxOption
className={({ active }) =>
`relative cursor-pointer select-none py-2 pl-10 pr-4 ${
`relative cursor-pointer select-none py-2 pl-10 pr-4 date-filter-option-${value} ${
active ? 'bg-amber-100 text-amber-900' : 'text-gray-900'
}`
}
Expand Down

0 comments on commit f06a6fa

Please sign in to comment.