OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.
fix: broken shared dashboard
Carl-Gerhard Lindesvärdb1765159c97f
diff --git a/apps/start/src/components/overview/overview-metrics.tsx b/apps/start/src/components/overview/overview-metrics.tsxindex 8e7b07e7d..8449d9837 100644--- a/apps/start/src/components/overview/overview-metrics.tsx+++ b/apps/start/src/components/overview/overview-metrics.tsx@@ -170,6 +170,7 @@ export default function OverviewMetrics({data={data}interval={interval}projectId={projectId}+ shareId={shareId}/>)}</div>@@ -222,11 +223,13 @@ function Chart({interval,data,projectId,+ shareId,}: {activeMetric: (typeof TITLES)[number];interval: IInterval;data: SeriesItem[];projectId: string;+ shareId?: string;}) {const { range, startDate, endDate } = useOverviewOptions();const trpc = useTRPC();@@ -249,6 +252,7 @@ function Chart({trpc.overview.getReferrerSpikes.queryOptions({projectId,+ shareId,startDate,endDate,range,