mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
More refactoring, cleaned up icons, nav buttons, add messages.
This commit is contained in:
parent
4b1013c8c6
commit
5f15ad0807
68 changed files with 391 additions and 790 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(['team/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