Skip to content

Commit

Permalink
Add quick action buttons (#2019)
Browse files Browse the repository at this point in the history
  • Loading branch information
thecalcc authored Jul 8, 2024
1 parent d9e2bcd commit 5ef1ce8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/components/Assignments/FiltersBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ export const FiltersBar = ({
)}
</StretchBar>
<DatePicker
headerButtonBar={[
{days: 0, label: gettext('Today')},
{days: 1, label: gettext('Tomorrow')},
{days: 2, label: gettext('In 2 days')},
]}
label={gettext('Filter by day:')}
inlineLabel
value={dayField != null ? new Date(dayField) : null}
Expand Down

0 comments on commit 5ef1ce8

Please sign in to comment.