-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[UX] make route match optional in EnvironmentFilter #105780
Conversation
Pinging @elastic/uptime (Team:uptime) |
Pinging @elastic/apm-ui (Team:apm) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, had to do yarn kbn clean, to make it work !!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
Closes #105757.
The UX app uses the EnvironmentFilter component to display an environment selector. The EnvironmentFilter component uses
useApmParams
which was introduced in #104274. However, APM routes are not used for the UX app, so useApmParams() cannot match any routes and return route parameters.This change makes a route match for useApmParams optional.