[v11.0.x] DashboardScene: Fixes issue moving between dashboards (#86096)

DashboardScene: Fixes issue moving between dashboards (#86093)

(cherry picked from commit 814ffdbc2b)

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
This commit is contained in:
grafana-delivery-bot[bot]
2024-04-15 10:09:54 +02:00
committed by GitHub
co-authored by Torkel Ödegaard
parent 56ea839a82
commit bca7aea61c
@@ -74,7 +74,7 @@ export function DashboardScenePage({ match, route, queryParams, history }: Props
return (
<>
<dashboard.Component model={dashboard} />
<dashboard.Component model={dashboard} key={dashboard.state.key} />
<DashboardPrompt dashboard={dashboard} />
</>
);