Skip to content

Commit

Permalink
Fix failing security solution tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kpollich committed Jun 4, 2021
1 parent a361845 commit 2e47795
Showing 1 changed file with 20 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,17 @@ export const useEndpointActionItems = (
'data-test-subj': 'agentPolicyLink',
navigateAppId: 'fleet',
navigateOptions: {
path: `#${pagePathGetters.policy_details({
policyId: fleetAgentPolicies[endpointPolicyId],
})}`,
path: `#${
pagePathGetters.policy_details({
policyId: fleetAgentPolicies[endpointPolicyId],
})[1]
}`,
},
href: `${getUrlForApp('fleet')}#${pagePathGetters.policy_details({
policyId: fleetAgentPolicies[endpointPolicyId],
})}`,
href: `${getUrlForApp('fleet')}#${
pagePathGetters.policy_details({
policyId: fleetAgentPolicies[endpointPolicyId],
})[1]
}`,
disabled: fleetAgentPolicies[endpointPolicyId] === undefined,
children: (
<FormattedMessage
Expand All @@ -133,13 +137,17 @@ export const useEndpointActionItems = (
'data-test-subj': 'agentDetailsLink',
navigateAppId: 'fleet',
navigateOptions: {
path: `#${pagePathGetters.fleet_agent_details({
agentId: fleetAgentId,
})}`,
path: `#${
pagePathGetters.fleet_agent_details({
agentId: fleetAgentId,
})[1]
}`,
},
href: `${getUrlForApp('fleet')}#${pagePathGetters.fleet_agent_details({
agentId: fleetAgentId,
})}`,
href: `${getUrlForApp('fleet')}#${
pagePathGetters.fleet_agent_details({
agentId: fleetAgentId,
})[1]
}`,
children: (
<FormattedMessage
id="xpack.securitySolution.endpoint.actions.agentDetails"
Expand Down

0 comments on commit 2e47795

Please sign in to comment.