Skip to content

Commit

Permalink
[APM] Service maps error after clicking on multiple services (#119077) (
Browse files Browse the repository at this point in the history
#119169)

Co-authored-by: Cauê Marcondes <[email protected]>
  • Loading branch information
kibanamachine and cauemarcondes authored Nov 19, 2021
1 parent 0a3cce7 commit 673303b
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 673303b

Please sign in to comment.