Skip to content

Commit

Permalink
Merge pull request #364 from mattwcole/date-range-filter-label-v1
Browse files Browse the repository at this point in the history
Consider date-range as range filter in filter label
  • Loading branch information
alessandrojcm authored Jul 10, 2024
2 parents c680d40 + 66d9f1c commit 63ee1f4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export const MRT_TableHeadCellFilterLabel = <

const isRangeFilter =
columnDef.filterVariant === 'range' ||
columnDef.filterVariant === 'date-range' ||
['between', 'betweenInclusive', 'inNumberRange'].includes(
columnDef._filterFn,
);
Expand Down

0 comments on commit 63ee1f4

Please sign in to comment.