mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
add pathname to endpoint url builder methods
This commit is contained in:
parent
ab763a3d0a
commit
7604932b80
2 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,7 @@ export function urlFromQueryParams(
|
||||||
): Partial<EndpointAppLocation> {
|
): Partial<EndpointAppLocation> {
|
||||||
const search = querystring.stringify(queryParams);
|
const search = querystring.stringify(queryParams);
|
||||||
return {
|
return {
|
||||||
|
pathname: '/alerts',
|
||||||
search,
|
search,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,7 @@ export function urlFromQueryParams(
|
||||||
): Partial<EndpointAppLocation> {
|
): Partial<EndpointAppLocation> {
|
||||||
const search = querystring.stringify(queryParams);
|
const search = querystring.stringify(queryParams);
|
||||||
return {
|
return {
|
||||||
|
pathname: '/hosts',
|
||||||
search,
|
search,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue