diff --git a/src/components/PageHeader/index.js b/src/components/PageHeader/index.js index ebaf74988e4f584402042b67858861761eefb282..af1d18142dee498c727ca3aec501a7ed16d61f4f 100644 --- a/src/components/PageHeader/index.js +++ b/src/components/PageHeader/index.js @@ -72,7 +72,7 @@ export default class PageHeader extends PureComponent { itemRender={this.itemRender} /> ); - } else if (location && location.pathname) { + } else if (location && location.pathname && (!breadcrumbList)) { const pathSnippets = location.pathname.split('/').filter(i => i); const extraBreadcrumbItems = pathSnippets.map((_, index) => { const url = `/${pathSnippets.slice(0, index + 1).join('/')}`;