Skip to content

Commit

Permalink
[Security Solution][Detections] Change detections breadcrumb title (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
cnasikas authored Jul 24, 2020
1 parent c0968f5 commit 5aa1211
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ describe('getBreadcrumbs', () => {
[],
getUrlForAppMock
)
).toEqual([{ href: 'securitySolution:detections', text: 'Detection alerts' }]);
).toEqual([{ href: 'securitySolution:detections', text: 'Detections' }]);
});
});
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 5aa1211

Please sign in to comment.