Scenes: Fix snapshot rendering (#87769)

This commit is contained in:
Ezequiel Victorero
2024-05-13 16:15:39 -03:00
committed by GitHub
parent ff6d1f4977
commit 56766abcc8
@@ -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;
}