Skip to content

Commit

Permalink
Put environment back in uiFilters (#92561) (#92686)
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 24, 2021
1 parent 0473610 commit e10ccb3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function useUiFilters(params: IUrlParams): UIFilters {
) as Partial<Record<LocalUIFilterName, string[]>>;

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

0 comments on commit e10ccb3

Please sign in to comment.