diff --git a/app/routes/circulars._archive._index/DateSelectorButton.tsx b/app/routes/circulars._archive._index/DateSelectorButton.tsx index 6d736070c..1335f1848 100644 --- a/app/routes/circulars._archive._index/DateSelectorButton.tsx +++ b/app/routes/circulars._archive._index/DateSelectorButton.tsx @@ -8,14 +8,13 @@ import { Button, ButtonGroup, Icon } from '@trussworks/react-uswds' const dateSelectorLabels: Record = { - hour: 'Last hour', - day: 'Last day', - week: 'Last week', - month: 'Last month', - year: 'Last year', + hour: 'Last Hour', today: 'Today', - mtd: 'Month to date', - ytd: 'Year to date', + day: 'Last Day', + week: 'Last Week', + month: 'Last Month', + year: 'Last Year', + ytd: 'Year to Date', } export default function ({ @@ -39,6 +38,8 @@ export default function ({ {startDate}—{endDate} )) || + (startDate && <>After {startDate}) || + (endDate && <>Before {endDate}) || 'Filter by date'} + + + + )} + )}