From afa26ef68ad69d603ffd1deee685b2749b2c74b2 Mon Sep 17 00:00:00 2001 From: 7HR4IZ3 Date: Sun, 12 Jan 2025 08:10:56 -0800 Subject: [PATCH] feat: redirect to default dashboard on deleting a dashboard Signed-off-by: 7HR4IZ3 --- packages/frontend/pages/dashboards/[id].tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/frontend/pages/dashboards/[id].tsx b/packages/frontend/pages/dashboards/[id].tsx index 80beacbd..31c2acb2 100644 --- a/packages/frontend/pages/dashboards/[id].tsx +++ b/packages/frontend/pages/dashboards/[id].tsx @@ -288,6 +288,7 @@ export default function Dashboard() { return; } removeDashboard(); + router.push(`/dashboards`); }} > Delete