mirror of
https://github.com/umami-software/umami.git
synced 2026-02-14 09:35:36 +01:00
Update teams features.
This commit is contained in:
parent
89f2fd601e
commit
656df4f846
23 changed files with 278 additions and 113 deletions
|
|
@ -7,7 +7,7 @@ import { messages } from 'components/messages';
|
|||
export default function TeamWebsites({ teamId }) {
|
||||
const { formatMessage } = useIntl();
|
||||
const { get, useQuery } = useApi();
|
||||
const { data, isLoading } = useQuery(['teams/websites', teamId], () =>
|
||||
const { data, isLoading } = useQuery(['teams:websites', teamId], () =>
|
||||
get(`/teams/${teamId}/websites`),
|
||||
);
|
||||
const hasData = data && data.length !== 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue