mirror of https://github.com/grafana/grafana.git
DashboardScenePage: Correct slug in self referencing data links (#100048)
* switch to useLayoutEffect so queries run after url correction
* add comment
* suparate useEffects to avoid update on slug change
* add url correction for missing slug
* account for slug change during dashboard rename
* simplify fix
* add e2e test for data link without slug
* remove old comment
* remove newly added path from useEffect dependencies
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| DashboardLiveTest.json | ||
| DashboardSearchTest.json | ||
| DataLinkWithoutSlugTest.json | ||
| PanelSandboxDashboard.json | ||
| TestDashboard.json | ||