Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Fixed build.

Mike Cao7abfa1cb5b5e
diff --git a/src/app/(main)/admin/teams/[teamId]/AdminTeamPage.tsx b/src/app/(main)/admin/teams/[teamId]/AdminTeamPage.tsx
index a7c5b0e20..07104c52b 100644
--- a/src/app/(main)/admin/teams/[teamId]/AdminTeamPage.tsx
+++ b/src/app/(main)/admin/teams/[teamId]/AdminTeamPage.tsx
@@ -1,6 +1,6 @@
'use client';
-import { TeamDetails } from '@/app/(main)/settings/teams/[teamId]/TeamDetails';
-import { TeamProvider } from '@/app/(main)/settings/teams/[teamId]/TeamProvider';
+import { TeamDetails } from '@/app/(main)/teams/[teamId]/TeamDetails';
+import { TeamProvider } from '@/app/(main)/teams/[teamId]/TeamProvider';
export function AdminTeamPage({ teamId }: { teamId: string }) {
return (
diff --git a/src/app/(main)/settings/websites/WebsitesSettingsPage.tsx b/src/app/(main)/settings/websites/WebsitesSettingsPage.tsx
index 6196e7597..c1812ed07 100644
--- a/src/app/(main)/settings/websites/WebsitesSettingsPage.tsx
+++ b/src/app/(main)/settings/websites/WebsitesSettingsPage.tsx
@@ -1,7 +1,7 @@
'use client';
import { Column } from '@umami/react-zen';
import { useMessages } from '@/components/hooks';
-import { WebsitesDataTable } from './WebsitesDataTable';
+import { WebsitesDataTable } from '@/app/(main)/websites/WebsitesDataTable';
import { SectionHeader } from '@/components/common/SectionHeader';
export function WebsitesSettingsPage({ teamId }: { teamId: string }) {
diff --git a/src/components/metrics/ListTable.tsx b/src/components/metrics/ListTable.tsx
index 197c1b507..9c614d33f 100644
--- a/src/components/metrics/ListTable.tsx
+++ b/src/components/metrics/ListTable.tsx
@@ -43,7 +43,7 @@ export function ListTable({
return (
<AnimatedRow
key={label}
- label={renderLabel ? renderLabel(row, index) : label ?? formatMessage(labels.unknown)}
+ label={renderLabel ? renderLabel(row, index) : (label ?? formatMessage(labels.unknown))}
value={value}
percent={percent}
animate={animate && !virtualize}