mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -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> {
|
||||
const search = querystring.stringify(queryParams);
|
||||
return {
|
||||
pathname: '/alerts',
|
||||
search,
|
||||
};
|
||||
}
|
||||
|
|
|
@ -12,6 +12,7 @@ export function urlFromQueryParams(
|
|||
): Partial<EndpointAppLocation> {
|
||||
const search = querystring.stringify(queryParams);
|
||||
return {
|
||||
pathname: '/hosts',
|
||||
search,
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue