From 345a40815b0770caa331fd2b106712586bf1c233 Mon Sep 17 00:00:00 2001 From: "grafana-delivery-bot[bot]" <132647405+grafana-delivery-bot[bot]@users.noreply.github.com> Date: Fri, 26 Apr 2024 18:48:53 +0100 Subject: [PATCH] [v11.0.x] Dasbhoard scenes: Don't return null when uids are not matching for new dashboards (#87001) 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 (cherry picked from commit c3cde17b33ecc2696b7039315f0a11070ba4b6ee) Co-authored-by: Oscar Kilhed --- 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; }