Updated some pages and layouts for navigation noSearch and showBackBtn
• Updated: - some pages and layouts for navigation noSearch and showBackBtn
This commit is contained in:
@@ -79,7 +79,7 @@ class AboutLayout extends React.PureComponent {
|
||||
|
||||
{
|
||||
me &&
|
||||
<DefaultNavigationBar title={title} noSearch />
|
||||
<DefaultNavigationBar title={title} />
|
||||
}
|
||||
{
|
||||
!me &&
|
||||
|
||||
@@ -15,7 +15,6 @@ class DefaultLayout extends React.PureComponent {
|
||||
showBackBtn,
|
||||
tabs,
|
||||
title,
|
||||
noSearch,
|
||||
} = this.props
|
||||
|
||||
return (
|
||||
@@ -28,7 +27,6 @@ class DefaultLayout extends React.PureComponent {
|
||||
showBackBtn={showBackBtn}
|
||||
tabs={tabs}
|
||||
title={title}
|
||||
noSearch={noSearch}
|
||||
>
|
||||
{children}
|
||||
</Layout>
|
||||
@@ -45,7 +43,6 @@ DefaultLayout.propTypes = {
|
||||
noRightSidebar: PropTypes.bool,
|
||||
page: PropTypes.string,
|
||||
showBackBtn: PropTypes.bool,
|
||||
noSearch: PropTypes.bool,
|
||||
tabs: PropTypes.array,
|
||||
title: PropTypes.string.isRequired,
|
||||
}
|
||||
|
||||
@@ -38,7 +38,6 @@ class Layout extends React.PureComponent {
|
||||
showGlobalFooter,
|
||||
tabs,
|
||||
title,
|
||||
noSearch,
|
||||
} = this.props
|
||||
|
||||
const mainBlockClasses = CX({
|
||||
@@ -64,7 +63,6 @@ class Layout extends React.PureComponent {
|
||||
tabs={tabs}
|
||||
title={title}
|
||||
showBackBtn={showBackBtn}
|
||||
noSearch={noSearch}
|
||||
/>
|
||||
}
|
||||
{
|
||||
@@ -177,7 +175,6 @@ Layout.propTypes = {
|
||||
showBackBtn: PropTypes.bool,
|
||||
showLinkFooterInSidebar: PropTypes.bool,
|
||||
showGlobalFooter: PropTypes.bool,
|
||||
noSearch: PropTypes.bool,
|
||||
tabs: PropTypes.array,
|
||||
title: PropTypes.string,
|
||||
}
|
||||
|
||||
@@ -37,10 +37,7 @@ class SettingsLayout extends React.PureComponent {
|
||||
<WrappedBundle component={SidebarXS} />
|
||||
</Responsive>
|
||||
|
||||
<DefaultNavigationBar
|
||||
title={title}
|
||||
noSearch
|
||||
/>
|
||||
<DefaultNavigationBar title={title} showBackBtn />
|
||||
|
||||
<div className={[_s.d, _s.flexRow, _s.w100PC].join(' ')}>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user