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 TinLe committed Nov 20, 2021
1 parent 05a4b26 commit 62e3a4d
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 62e3a4d

Please sign in to comment.