diff --git a/datahub-web-react/src/app/browse/BrowsableEntityPage.tsx b/datahub-web-react/src/app/browse/BrowsableEntityPage.tsx index 1495088a40..8583c24bfa 100644 --- a/datahub-web-react/src/app/browse/BrowsableEntityPage.tsx +++ b/datahub-web-react/src/app/browse/BrowsableEntityPage.tsx @@ -22,7 +22,12 @@ export const BrowsableEntityPage = ({ urn: _urn, type: _type, children: _childre {data && data.browsePaths && data.browsePaths.length > 0 && ( - + )} {_children} diff --git a/datahub-web-react/src/app/browse/BrowsePath.tsx b/datahub-web-react/src/app/browse/BrowsePath.tsx index de71f9e268..96ffbeef18 100644 --- a/datahub-web-react/src/app/browse/BrowsePath.tsx +++ b/datahub-web-react/src/app/browse/BrowsePath.tsx @@ -16,6 +16,7 @@ interface Props { type: EntityType; path: Array; lineageSupported?: boolean; + isProfilePage?: boolean; } const LineageIconGroup = styled.div` @@ -56,7 +57,7 @@ const BrowseRow = styled(Row)` /** * Responsible for rendering a clickable browse path view. */ -export const BrowsePath = ({ type, path, lineageSupported }: Props) => { +export const BrowsePath = ({ type, path, lineageSupported, isProfilePage }: Props) => { const entityRegistry = useEntityRegistry(); const history = useHistory(); const location = useLocation(); @@ -70,7 +71,15 @@ export const BrowsePath = ({ type, path, lineageSupported }: Props) => { const pathCrumbs = path.map((part, index) => ( - {part} + + {part} + ));