mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
* fix link in Trusted Apps tab under policy details Co-authored-by: Paul Tavares <56442535+paul-tavares@users.noreply.github.com>
This commit is contained in:
parent
21c00ba6d6
commit
ac00750121
1 changed files with 5 additions and 2 deletions
|
@ -32,7 +32,7 @@ import { PolicyTrustedAppsFlyout } from '../flyout';
|
|||
import { PolicyTrustedAppsList } from '../list/policy_trusted_apps_list';
|
||||
import { useEndpointPrivileges } from '../../../../../../common/components/user_privileges/endpoint/use_endpoint_privileges';
|
||||
import { useAppUrl } from '../../../../../../common/lib/kibana';
|
||||
import { APP_ID } from '../../../../../../../common/constants';
|
||||
import { APP_UI_ID } from '../../../../../../../common/constants';
|
||||
import { getTrustedAppsListPath } from '../../../../../common/routing';
|
||||
|
||||
export const PolicyTrustedAppsLayout = React.memo(() => {
|
||||
|
@ -92,7 +92,10 @@ export const PolicyTrustedAppsLayout = React.memo(() => {
|
|||
|
||||
const aboutInfo = useMemo(() => {
|
||||
const link = (
|
||||
<EuiLink href={getAppUrl({ appId: APP_ID, path: getTrustedAppsListPath() })} target="_blank">
|
||||
<EuiLink
|
||||
href={getAppUrl({ appId: APP_UI_ID, path: getTrustedAppsListPath() })}
|
||||
target="_blank"
|
||||
>
|
||||
<FormattedMessage
|
||||
id="xpack.securitySolution.endpoint.policy.trustedApps.layout.about.viewAllLinkLabel"
|
||||
defaultMessage="view all trusted applications"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue