From fee628865911e577e9ecdc5f6426d01d99d06d99 Mon Sep 17 00:00:00 2001 From: TzeYiing Date: Wed, 17 Aug 2022 02:41:46 +0800 Subject: [PATCH] fix: post-custom-report creation linking redirecting --- studio/pages/project/[ref]/reports/dashboard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/studio/pages/project/[ref]/reports/dashboard.tsx b/studio/pages/project/[ref]/reports/dashboard.tsx index d80310fe22d..ba872f234c1 100644 --- a/studio/pages/project/[ref]/reports/dashboard.tsx +++ b/studio/pages/project/[ref]/reports/dashboard.tsx @@ -41,7 +41,7 @@ export const DashboardReportPage: NextPageWithLayout = () => { const reports = contentStore.reports() if (reports.length >= 1) { - router.push(`/project/${ref}/reports/${reports[0].id}`) + router.push(`/project/${ref}/reports/dashboard/${reports[0].id}`) } else { setLoading(false) }