diff --git a/superset-frontend/src/dashboard/actions/hydrate.js b/superset-frontend/src/dashboard/actions/hydrate.js index 221d8507d4..4422165a0a 100644 --- a/superset-frontend/src/dashboard/actions/hydrate.js +++ b/superset-frontend/src/dashboard/actions/hydrate.js @@ -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);