Skip to content

Commit

Permalink
Don't show title if onlyLandingPage
Browse files Browse the repository at this point in the history
  • Loading branch information
tiberiuichim committed Dec 2, 2022
1 parent 4f8741c commit ba6ebfd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/LandingPage/DatahubLandingPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ const sortedTiles = (tiles, sectionConfig, appConfig) => {

const LandingPage = (props) => {
const { appConfig, children, setFilter, setSort } = props;
const { onlyLandingPage = false } = appConfig;
// const facetsConfig = appConfig.facets;

const {
Expand Down Expand Up @@ -227,7 +228,7 @@ const LandingPage = (props) => {
return (
<div className="landing-page-container">
<div className="landing-page">
<h4 className="browse-by">Browse by</h4>
{!onlyLandingPage && <h4 className="browse-by">Browse by</h4>}
<Tab
className="search-tab"
menu={{ secondary: true, pointing: true }}
Expand Down

0 comments on commit ba6ebfd

Please sign in to comment.