From c3cde17b33ecc2696b7039315f0a11070ba4b6ee Mon Sep 17 00:00:00 2001 From: Oscar Kilhed Date: Fri, 26 Apr 2024 17:12:47 +0200 Subject: [PATCH] Dasbhoard scenes: Don't return null when uids are not matching for new dashboards (#86998) Don't return null when uids not matching for new dashboards --- public/app/features/dashboard/containers/DashboardPageProxy.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/dashboard/containers/DashboardPageProxy.tsx b/public/app/features/dashboard/containers/DashboardPageProxy.tsx index c31f05630b4..1a1bf22c777 100644 --- a/public/app/features/dashboard/containers/DashboardPageProxy.tsx +++ b/public/app/features/dashboard/containers/DashboardPageProxy.tsx @@ -54,7 +54,7 @@ function DashboardPageProxy(props: DashboardPageProxyProps) { return null; } - if (dashboard?.value?.dashboard?.uid !== props.match.params.uid) { + if (dashboard?.value?.dashboard?.uid !== props.match.params.uid && dashboard.value?.meta?.isNew !== true) { return null; }