diff --git a/x-pack/plugins/infra/public/components/metrics_explorer/chart_context_menu.tsx b/x-pack/plugins/infra/public/components/metrics_explorer/chart_context_menu.tsx index e151773b615e02..a25a34ae596fd6 100644 --- a/x-pack/plugins/infra/public/components/metrics_explorer/chart_context_menu.tsx +++ b/x-pack/plugins/infra/public/components/metrics_explorer/chart_context_menu.tsx @@ -62,7 +62,7 @@ export const createNodeDetailLink = ( nodeId: string, from: string, to: string, - prefixPathWithBasePath: (path?: string) => string + prefixPathWithBasePath: (path?: string | undefined) => string | undefined ) => { return getNodeDetailUrl({ nodeType,