Skip to content

Commit

Permalink
Change detections breadcrumb title
Browse files Browse the repository at this point in the history
  • Loading branch information
cnasikas committed Jul 23, 2020
1 parent cf3aa2c commit 76be415
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const getBreadcrumbs = (
): ChromeBreadcrumb[] => {
let breadcrumb = [
{
text: i18nDetections.PAGE_TITLE,
text: i18nDetections.BREADCRUMB_TITLE,
href: getUrlForApp(`${APP_ID}:${SecurityPageName.detections}`, {
path: !isEmpty(search[0]) ? search[0] : '',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@

import { i18n } from '@kbn/i18n';

export const BREADCRUMB_TITLE = i18n.translate(
'xpack.securitySolution.detectionEngine.detectionsBreadcrumbTitle',
{
defaultMessage: 'Detections',
}
);

export const PAGE_TITLE = i18n.translate(
'xpack.securitySolution.detectionEngine.detectionsPageTitle',
{
Expand Down

0 comments on commit 76be415

Please sign in to comment.