Skip to content

Commit ce29701

Browse files
fix: set activeBottomPanelTab to explore when goto refs / defs
1 parent f9f41d0 commit ce29701

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • packages/web/src/ee/features/codeNav/components/symbolHoverPopup

packages/web/src/ee/features/codeNav/components/symbolHoverPopup/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ export const SymbolHoverPopup: React.FC<SymbolHoverPopupProps> = ({
153153
},
154154
activeExploreMenuTab: "definitions",
155155
isBottomPanelCollapsed: false,
156+
activeBottomPanelTab: 'explore'
156157
}
157158
} : {}),
158159
});
@@ -196,6 +197,7 @@ export const SymbolHoverPopup: React.FC<SymbolHoverPopupProps> = ({
196197
},
197198
activeExploreMenuTab: "references",
198199
isBottomPanelCollapsed: false,
200+
activeBottomPanelTab: 'explore'
199201
}
200202
})
201203
}, [captureEvent, fileName, language, navigateToPath, repoName, revisionName, source, symbolInfo]);

0 commit comments

Comments
 (0)