mirror of
https://github.com/umami-software/umami.git
synced 2026-02-15 01:55:36 +01:00
Fixed websites paging.
This commit is contained in:
parent
9671414edd
commit
d709f4eb80
14 changed files with 34 additions and 36 deletions
|
|
@ -4,21 +4,19 @@ import DataTable from 'components/common/DataTable';
|
|||
import { useWebsites } from 'components/hooks';
|
||||
|
||||
export function WebsitesDataTable({
|
||||
userId,
|
||||
teamId,
|
||||
allowEdit = true,
|
||||
allowView = true,
|
||||
showActions = true,
|
||||
children,
|
||||
}: {
|
||||
userId?: string;
|
||||
teamId?: string;
|
||||
allowEdit?: boolean;
|
||||
allowView?: boolean;
|
||||
showActions?: boolean;
|
||||
children?: ReactNode;
|
||||
}) {
|
||||
const queryResult = useWebsites({ userId, teamId });
|
||||
const queryResult = useWebsites({ teamId });
|
||||
|
||||
return (
|
||||
<DataTable queryResult={queryResult}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue