Skip to content

Commit

Permalink
fix: Selected tab after save and go to dashboard (#21630)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-s-molina committed Sep 30, 2022
1 parent f83af88 commit 6af35a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset-frontend/src/dashboard/actions/hydrate.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6af35a7

Please sign in to comment.