mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 06:37:18 +01:00
Fixed field parameters.
This commit is contained in:
parent
0f6cdf8b80
commit
7d2c361725
12 changed files with 90 additions and 88 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { useState, Key } from 'react';
|
||||
import { useState, Key, Fragment } from 'react';
|
||||
import { Icon, Modal, Select, Text, Row, ListItem, ListSeparator, Dialog } from '@umami/react-zen';
|
||||
import { endOfYear, isSameDay } from 'date-fns';
|
||||
import { DatePickerForm } from '@/components/metrics/DatePickerForm';
|
||||
|
|
@ -101,12 +101,12 @@ export function DateFilter({
|
|||
>
|
||||
{options.map(({ label, value, divider }: any) => {
|
||||
return (
|
||||
<>
|
||||
<Fragment key={label}>
|
||||
{divider && <ListSeparator />}
|
||||
<ListItem key={value} id={value}>
|
||||
<ListItem key={label} id={value}>
|
||||
{label}
|
||||
</ListItem>
|
||||
</>
|
||||
</Fragment>
|
||||
);
|
||||
})}
|
||||
</Select>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue