Small adjustments in policy page (#114957)

This commit is contained in:
David Sánchez 2021-10-14 16:25:17 +02:00 committed by GitHub
parent 864e6f1a74
commit 55a444b17a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View file

@ -249,7 +249,7 @@ export const PolicyTrustedAppsFlyout = React.memo(() => {
>
<FormattedMessage
id="xpack.securitySolution.endpoint.policy.trustedApps.layout.flyout.confirm"
defaultMessage="Assing to {policyName}"
defaultMessage="Assign to {policyName}"
values={{
policyName,
}}

View file

@ -54,7 +54,7 @@ const RootWrapper = styled.div`
const BACK_TO_TRUSTED_APPS_LABEL = i18n.translate(
'xpack.securitySolution.trustedapps.grid.policyDetailsLinkBackLabel',
{ defaultMessage: 'Back to trusted Applications' }
{ defaultMessage: 'Back to trusted applications' }
);
const EDIT_TRUSTED_APP_ACTION_LABEL = i18n.translate(
@ -120,6 +120,12 @@ export const TrustedAppsGrid = memo(() => {
],
href: getAppUrl({ path: currentPagePath }),
},
onCancelNavigateTo: [
APP_ID,
{
path: currentPagePath,
},
],
};
policyToNavOptionsMap[policyId] = {