Skip to content

Commit

Permalink
feat: add some comment
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <[email protected]>
  • Loading branch information
SuZhou-Joe committed Jul 29, 2024
1 parent 0c3aa9f commit 8798bf7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/plugins/dev_tools/public/dev_tools_icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ export function DevToolsIcon({ core, appId }: { core: CoreStart; appId: string }
aria-label="go-to-dev-tools"
iconType="consoleApp"
onClick={() => {
/**
* This is a workaround before devTools refactor as a drawer in 2.16.
*/
core.chrome.navGroup.setCurrentNavGroup(DEFAULT_NAV_GROUPS.dataAdministration.id);
core.application.navigateToApp(appId);
}}
Expand Down

0 comments on commit 8798bf7

Please sign in to comment.