diff --git a/src/components/PageHeader/breadcrumb.js b/src/components/PageHeader/breadcrumb.js index 28c71b068c79201c980bc2c209c04407e62e1b28..e6afcb54c8641480478d162aa3c078fb67fb841f 100644 --- a/src/components/PageHeader/breadcrumb.js +++ b/src/components/PageHeader/breadcrumb.js @@ -100,18 +100,20 @@ export default class BreadcrumbView extends PureComponent { ) : null; }); - // Add home breadcrumbs to your head - extraBreadcrumbItems.unshift( - - {createElement( - linkElement, - { - [linkElement === 'a' ? 'href' : 'to']: '/', - }, - home || 'Home' - )} - - ); + // Add home breadcrumbs to your head if defined + if (home) { + extraBreadcrumbItems.unshift( + + {createElement( + linkElement, + { + [linkElement === 'a' ? 'href' : 'to']: '/', + }, + home + )} + + ); + } return ( {extraBreadcrumbItems}