From 56766abcc89e902be7a1bf59381af3e6235523af Mon Sep 17 00:00:00 2001 From: Ezequiel Victorero Date: Mon, 13 May 2024 16:15:39 -0300 Subject: [PATCH] Scenes: Fix snapshot rendering (#87769) --- .../app/features/dashboard-scene/pages/DashboardScenePage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/dashboard-scene/pages/DashboardScenePage.tsx b/public/app/features/dashboard-scene/pages/DashboardScenePage.tsx index 28f9def3165..84ca43a33e3 100644 --- a/public/app/features/dashboard-scene/pages/DashboardScenePage.tsx +++ b/public/app/features/dashboard-scene/pages/DashboardScenePage.tsx @@ -73,7 +73,7 @@ export function DashboardScenePage({ match, route, queryParams, history }: Props } // Do not render anything when transitioning from one dashboard to another - if (dashboard.state.uid && dashboard.state.uid !== match.params.uid) { + if (match.params.type !== 'snapshot' && dashboard.state.uid && dashboard.state.uid !== match.params.uid) { return null; }