mirror of
https://github.com/umami-software/umami.git
synced 2026-02-06 13:47:15 +01:00
Rearrange date range dropdown logically
This commit is contained in:
parent
83678756c7
commit
4cc75e75d4
2 changed files with 3 additions and 13 deletions
|
|
@ -3,13 +3,12 @@ import { getDateRange } from 'lib/date';
|
|||
import DropDown from './DropDown';
|
||||
|
||||
const filterOptions = [
|
||||
{ label: 'Last 24 hours', value: '24hour' },
|
||||
{ label: 'Last 7 days', value: '7day' },
|
||||
{ label: 'Last 30 days', value: '30day' },
|
||||
{ label: 'Last 90 days', value: '90day' },
|
||||
{ label: 'Today', value: '1day' },
|
||||
{ label: 'Last 7 days', value: '7day' },
|
||||
{ label: 'This week', value: '1week' },
|
||||
{ label: 'Last 30 days', value: '30day' },
|
||||
{ label: 'This month', value: '1month' },
|
||||
{ label: 'Last 90 days', value: '90day' },
|
||||
{ label: 'This year', value: '1year' },
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue