mirror of
https://github.com/apache/superset.git
synced 2024-09-11 16:19:43 -04:00
fix: Selected tab after save and go to dashboard (#21630)
This commit is contained in:
parent
f83af88fc7
commit
6af35a7d98
@ -293,7 +293,7 @@ export const hydrateDashboard =
|
||||
|
||||
// find direct link component and path from root
|
||||
const directLinkComponentId = getLocationHash();
|
||||
let directPathToChild = [];
|
||||
let directPathToChild = dashboardState.directPathToChild || [];
|
||||
if (layout[directLinkComponentId]) {
|
||||
directPathToChild = (layout[directLinkComponentId].parents || []).slice();
|
||||
directPathToChild.push(directLinkComponentId);
|
||||
|
Loading…
Reference in New Issue
Block a user