Skip to content

Commit

Permalink
[APM] Service maps error after clicking on multiple services (elastic…
Browse files Browse the repository at this point in the history
  • Loading branch information
cauemarcondes authored and kibanamachine committed Nov 19, 2021
1 parent 6f8bc77 commit cdabc36
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,14 @@ export function BackendContents({
);

const isLoading = status === FETCH_STATUS.LOADING;
const detailsUrl = apmRouter.link('/backends/overview', {
query: {
...query,
backendName,
} as TypeOf<ApmRoutes, '/backends/overview'>['query'],
});
const detailsUrl = backendName
? apmRouter.link('/backends/overview', {
query: {
...query,
backendName,
} as TypeOf<ApmRoutes, '/backends/overview'>['query'],
})
: undefined;

const trackEvent = useUiTracker();

Expand Down

0 comments on commit cdabc36

Please sign in to comment.