From 35239ea7261a466b959089413e3fb2a056078e74 Mon Sep 17 00:00:00 2001 From: Xhavit Fu Date: Fri, 23 Nov 2018 15:58:17 +0800 Subject: [PATCH] fix #2558, breadcrumbList doesn't work in PageHeaderWrapper (#2955) --- src/components/PageHeaderWrapper/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/PageHeaderWrapper/index.js b/src/components/PageHeaderWrapper/index.js index 66096404..cd745f66 100644 --- a/src/components/PageHeaderWrapper/index.js +++ b/src/components/PageHeaderWrapper/index.js @@ -21,9 +21,9 @@ const PageHeaderWrapper = ({ children, contentWidth, wrapperClassName, top, ...r linkElement={Link} itemRender={item => { if (item.locale) { - return ; + return ; } - return item.name; + return item.title; }} /> )} -- GitLab