mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
Update index.js
This commit is contained in:
parent
586529a5ca
commit
97f4a3bccc
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ export default function RealtimeDetailsPage() {
|
|||
const { formatMessage, labels } = useMessages();
|
||||
const { get, useQuery } = useApi();
|
||||
const { data: website } = useQuery(['websites', websiteId], () =>
|
||||
get(`/websites/${websiteId}`, { enabled: !!websiteId }),
|
||||
websiteId ? get(`/websites/${websiteId}`, { enabled: !!websiteId }) : null,
|
||||
);
|
||||
const title = `${formatMessage(labels.realtime)}${website?.name ? ` - ${website.name}` : ''}`;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue