[v11.0.x] Scenes: Fix snapshot rendering (#87770)
Scenes: Fix snapshot rendering (#87769)
(cherry picked from commit 56766abcc8)
Co-authored-by: Ezequiel Victorero <ezequiel.victorero@grafana.com>
This commit is contained in:
co-authored by
Ezequiel Victorero
parent
0129c26d50
commit
016a26c6ad
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user