Skip to content

Commit

Permalink
Put environment back in uiFilters (#92561) (#92687)
Browse files Browse the repository at this point in the history
`environment` is still used in `uiFilters` in UX, but not anywhere else.

It was removed when removing environment from UI filters for the rest of APM and broke UX's environment switcher. Put it back.
# Conflicts:
#	x-pack/plugins/apm/public/context/url_params_context/url_params_context.tsx
  • Loading branch information
smith committed Feb 27, 2021
1 parent a5e0cce commit 178481b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ function useUiFilters(params: IUrlParams): UIFilters {

return useDeepObjectIdentity({
kuery,
environment: params.environment,
...localUiFilters,
});
}
Expand Down

0 comments on commit 178481b

Please sign in to comment.