diff --git a/src/core/public/chrome/ui/header/header_breadcrumbs.tsx b/src/core/public/chrome/ui/header/header_breadcrumbs.tsx index 4cbfdd21311d0..a678f444e8c17 100644 --- a/src/core/public/chrome/ui/header/header_breadcrumbs.tsx +++ b/src/core/public/chrome/ui/header/header_breadcrumbs.tsx @@ -17,18 +17,13 @@ interface Props { breadcrumbs$: Observable; } -export function HeaderBreadcrumbs({ breadcrumbs$ }: Props) { +export function HeaderBreadcrumbs({ breadcrumbs$ }: Readonly) { const breadcrumbs = useObservable(breadcrumbs$, []); let crumbs = breadcrumbs; if (breadcrumbs.length === 0) { crumbs = [{ text: 'Kibana' }]; - // if (breadcrumbs.length === 0 && appTitle) { - // crumbs = [{ text: appTitle }]; - // if (appTitle === 'Kibana') { - // crumbs = [{ text: '' }]; - // } - // } + } crumbs = crumbs.map((breadcrumb, i) => ({ ...breadcrumb,