fix: post-custom-report creation linking redirecting

This commit is contained in:
TzeYiing authored and Ziinc committed 2022-08-25 02:56:15 +08:00
1 parent 3cd619e062
commit fee6288659
1 file changed
+1 -1
@@ -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)
}