Skip to content

Commit

Permalink
fix: limit time picker presets (#2008)
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenjaneczek authored Jul 20, 2023
1 parent f438451 commit 56ec1d1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions webapp/javascript/components/DateRangePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ const defaultPresets = [
{ label: 'Last 7 days', from: 'now-7d', until: 'now' },
{ label: 'Last 30 days', from: 'now-30d', until: 'now' },
{ label: 'Last 90 days', from: 'now-90d', until: 'now' },
{ label: 'Last 6 months', from: 'now-6M', until: 'now' },
{ label: 'Last 1 year', from: 'now-1y', until: 'now' },
{ label: 'Last 2 years', from: 'now-2y', until: 'now' },
{ label: 'Last 5 years', from: 'now-5y', until: 'now' },
],
];

Expand Down

0 comments on commit 56ec1d1

Please sign in to comment.