Skip to content

Commit

Permalink
Add quick action buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
thecalcc committed Jul 8, 2024
1 parent d9e2bcd commit 81ed1db
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")},

Check failure on line 89 in client/components/Assignments/FiltersBar.tsx

View workflow job for this annotation

GitHub Actions / client (14.x)

Extra space before value for key 'label'

Check failure on line 89 in client/components/Assignments/FiltersBar.tsx

View workflow job for this annotation

GitHub Actions / client (14.x)

Strings must use singlequote
{days: 2, label: gettext("In 2 days")},

Check failure on line 90 in client/components/Assignments/FiltersBar.tsx

View workflow job for this annotation

GitHub Actions / client (14.x)

Strings must use singlequote
]}
label={gettext('Filter by day:')}
inlineLabel
value={dayField != null ? new Date(dayField) : null}
Expand Down

0 comments on commit 81ed1db

Please sign in to comment.