mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[SECURITY_SOLUTION][ENDPOINT] Fix host list Configuration Status cell link loosing list page/size state (#73989)
This commit is contained in:
parent
53b1875093
commit
a216418fe7
2 changed files with 3 additions and 1 deletions
|
@ -54,7 +54,8 @@ export const getHostListPath = (
|
|||
};
|
||||
|
||||
export const getHostDetailsPath = (
|
||||
props: { name: 'hostDetails' | 'hostPolicyResponse' } & HostDetailsUrlProps,
|
||||
props: { name: 'hostDetails' | 'hostPolicyResponse' } & HostIndexUIQueryParams &
|
||||
HostDetailsUrlProps,
|
||||
search?: string
|
||||
) => {
|
||||
const { name, ...queryParams } = props;
|
||||
|
|
|
@ -263,6 +263,7 @@ export const HostList = () => {
|
|||
render: (policy: HostInfo['metadata']['Endpoint']['policy']['applied'], item: HostInfo) => {
|
||||
const toRoutePath = getHostDetailsPath({
|
||||
name: 'hostPolicyResponse',
|
||||
...queryParams,
|
||||
selected_host: item.metadata.host.id,
|
||||
});
|
||||
const toRouteUrl = formatUrl(toRoutePath);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue