Skip to content

Commit

Permalink
Using internal route for Crawler link in EngineNav
Browse files Browse the repository at this point in the history
  • Loading branch information
byronhulcher committed May 27, 2021
1 parent c65fb51 commit 8c1b6f4
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { useValues } from 'kea';
import { EuiText, EuiBadge, EuiIcon, EuiFlexGroup, EuiFlexItem } from '@elastic/eui';
import { i18n } from '@kbn/i18n';

import { getAppSearchUrl } from '../../../shared/enterprise_search_url';
import { SideNavLink, SideNavItem } from '../../../shared/layout';
import { AppLogic } from '../../app_logic';
import {
Expand Down Expand Up @@ -170,8 +169,7 @@ export const EngineNav: React.FC = () => {
)}
{canViewEngineCrawler && !isMetaEngine && (
<SideNavLink
isExternal
to={getAppSearchUrl(generateEnginePath(ENGINE_CRAWLER_PATH))}
to={generateEnginePath(ENGINE_CRAWLER_PATH)}
data-test-subj="EngineCrawlerLink"
>
{CRAWLER_TITLE}
Expand Down

0 comments on commit 8c1b6f4

Please sign in to comment.