Skip to content

Commit

Permalink
[APM] Update template title for service groups
Browse files Browse the repository at this point in the history
  • Loading branch information
kpatticha committed May 3, 2022
1 parent cbd13ec commit d71299b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,9 @@ import { ServiceGroupsList } from '../app/service_groups';
import { ServiceGroupsRedirect } from './service_groups_redirect';
import { offsetRt } from '../../../common/offset_rt';

const ServiceGroupsBreadcrumnbLabel = i18n.translate(
'xpack.apm.views.serviceGroups.breadcrumbLabel',
{ defaultMessage: 'Services' }
);
const ServiceGroupsTitle = i18n.translate(
'xpack.apm.views.serviceGroups.title',
{ defaultMessage: 'Service groups' }
{ defaultMessage: ' Services' }
);

/**
Expand Down Expand Up @@ -77,10 +73,7 @@ const apmRoutes = {
// this route fails on navigation unless it's defined before home
'/service-groups': {
element: (
<Breadcrumb
title={ServiceGroupsBreadcrumnbLabel}
href={'/service-groups'}
>
<Breadcrumb title={ServiceGroupsTitle} href={'/service-groups'}>
<ApmMainTemplate
pageTitle={ServiceGroupsTitle}
environmentFilter={false}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export function ServiceGroupTemplate({
) : (
serviceGroupName ||
i18n.translate('xpack.apm.serviceGroup.allServices.title', {
defaultMessage: 'Services',
defaultMessage: 'All services',
})
)}
</EuiFlexItem>
Expand Down

0 comments on commit d71299b

Please sign in to comment.