mirror of
https://github.com/umami-software/umami.git
synced 2026-02-13 09:05:36 +01:00
Updated query hooks for teams and websites.
This commit is contained in:
parent
9448aa3ab5
commit
2fa50892d8
61 changed files with 508 additions and 539 deletions
|
|
@ -1,9 +1,9 @@
|
|||
'use client';
|
||||
import WebsitesDataTable from '../settings/websites/WebsitesDataTable';
|
||||
import { useUser } from 'components/hooks';
|
||||
import { useLogin } from 'components/hooks';
|
||||
|
||||
export function WebsitesBrowse() {
|
||||
const { user } = useUser();
|
||||
const { user } = useLogin();
|
||||
const allowEdit = !process.env.cloudMode;
|
||||
|
||||
return <WebsitesDataTable userId={user.id} allowEdit={allowEdit} />;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue