mirror of
https://github.com/umami-software/umami.git
synced 2026-02-20 12:35:38 +01:00
Migrate to v2.10.2
This commit is contained in:
parent
17c93dab31
commit
3eae82632f
3 changed files with 6 additions and 3 deletions
|
|
@ -29,6 +29,7 @@ export interface MetricsTableProps extends ListTableProps {
|
|||
onSearch?: (search: string) => void;
|
||||
allowSearch?: boolean;
|
||||
children?: ReactNode;
|
||||
fieldName?: string
|
||||
}
|
||||
|
||||
export function MetricsTable({
|
||||
|
|
@ -41,6 +42,7 @@ export function MetricsTable({
|
|||
delay = null,
|
||||
allowSearch = false,
|
||||
children,
|
||||
fieldName,
|
||||
...props
|
||||
}: MetricsTableProps) {
|
||||
const [search, setSearch] = useState('');
|
||||
|
|
@ -70,6 +72,7 @@ export function MetricsTable({
|
|||
city,
|
||||
limit,
|
||||
search,
|
||||
fieldName,
|
||||
},
|
||||
{ retryDelay: delay || DEFAULT_ANIMATION_DURATION, onDataLoad },
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue